vgosavi2 commited on
Commit
8c8bd2c
·
verified ·
1 Parent(s): 22785ba

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -69,7 +69,7 @@ st.markdown("""
69
  """, unsafe_allow_html=True)
70
 
71
  # 1. Page title
72
- st.markdown("<div class='title'><h1> LAPD Crime Insights Dashboard </h1></div>", unsafe_allow_html=True)
73
 
74
  st.markdown("""<div class='description'> This application provides a suite of interactive visualizations—pie charts,
75
  bar charts, scatter plots, and more—that let you explore crime patterns in the LAPD dataset from multiple angles.
@@ -229,7 +229,7 @@ df_top = df[df['crm_cd_desc'].isin(top_crimes)]
229
  heatmap1_data = df_top.groupby(['crm_cd_desc', 'year']).size().unstack(fill_value=0)
230
 
231
  # Create the heat map.
232
- fig, ax = plt.subplots(figsize=(10, 6))
233
 
234
  # 2. Draw into that Axes
235
  sns.heatmap(
 
69
  """, unsafe_allow_html=True)
70
 
71
  # 1. Page title
72
+ st.markdown("<div class='title'><h1> 🚔 Crime Pulse: LAPD Incident Explorer 🔎 </h1></div>", unsafe_allow_html=True)
73
 
74
  st.markdown("""<div class='description'> This application provides a suite of interactive visualizations—pie charts,
75
  bar charts, scatter plots, and more—that let you explore crime patterns in the LAPD dataset from multiple angles.
 
229
  heatmap1_data = df_top.groupby(['crm_cd_desc', 'year']).size().unstack(fill_value=0)
230
 
231
  # Create the heat map.
232
+ fig, ax = plt.subplots(figsize=(8, 4))
233
 
234
  # 2. Draw into that Axes
235
  sns.heatmap(