Spaces:
Build error
Build error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -256,7 +256,7 @@ line_chart
|
|
| 256 |
st.markdown(""" This plot is a line chart visualizing the annual number of incidents for the top 5 most frequent crime types over a five-year period, from 2020 to 2024. Each line represents a distinct crime type, allowing for easy comparison of trends across different categories. The x-axis represents the year, the y-axis indicates the number of incidents, and a legend identifies the color corresponding to each specific crime type: Battery - Simple Assault, Burglary From Vehicle, Theft of Identity, Vandalism - Felony , and Vehicle - Stolen. The plot highlights the fluctuations and overall trajectories of these major crime categories across the years.""")
|
| 257 |
|
| 258 |
# Load data
|
| 259 |
-
with open(
|
| 260 |
geojson_data = json.load(f)
|
| 261 |
|
| 262 |
|
|
|
|
| 256 |
st.markdown(""" This plot is a line chart visualizing the annual number of incidents for the top 5 most frequent crime types over a five-year period, from 2020 to 2024. Each line represents a distinct crime type, allowing for easy comparison of trends across different categories. The x-axis represents the year, the y-axis indicates the number of incidents, and a legend identifies the color corresponding to each specific crime type: Battery - Simple Assault, Burglary From Vehicle, Theft of Identity, Vandalism - Felony , and Vehicle - Stolen. The plot highlights the fluctuations and overall trajectories of these major crime categories across the years.""")
|
| 257 |
|
| 258 |
# Load data
|
| 259 |
+
with open(GEOJSON_PATH, "r", encoding="utf-8") as f:
|
| 260 |
geojson_data = json.load(f)
|
| 261 |
|
| 262 |
|