Update README.md
Browse files
README.md
CHANGED
|
@@ -1,10 +1,26 @@
|
|
| 1 |
---
|
| 2 |
-
title: Crime
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk:
|
|
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Crime Map Explorer
|
| 3 |
+
emoji: 🗺️
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: gray
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
app_file: app.py
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# 📍 Crime Map Explorer
|
| 12 |
+
|
| 13 |
+
An interactive Streamlit app that visualizes the top 10 crime types in Los Angeles by location and year, using Altair charts.
|
| 14 |
+
|
| 15 |
+
## 💻 How it works
|
| 16 |
+
|
| 17 |
+
- Choose a year and crime type from the dropdown menus.
|
| 18 |
+
- View the map with interactive zoom/pan and hover tooltips showing detailed info about each crime.
|
| 19 |
+
- Data limited to 300 samples per view for performance.
|
| 20 |
+
|
| 21 |
+
## 📂 Files
|
| 22 |
+
|
| 23 |
+
- `app.py`: Main Streamlit application.
|
| 24 |
+
- `crime_data.csv`: Cleaned crime data.
|
| 25 |
+
- `County_Boundary.geojson`: Map boundary file.
|
| 26 |
+
- `requirements.txt`: Dependencies
|