vgosavi2 commited on
Commit
840e1cf
·
verified ·
1 Parent(s): 5ec9bd9

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +10 -1
src/streamlit_app.py CHANGED
@@ -9,9 +9,18 @@ st.set_page_config(
9
  page_icon="📊",
10
  layout="wide"
11
  )
 
 
 
 
 
 
 
 
 
 
12
 
13
  # 1. Page title
14
- st.title("LAPD Crime Insights Dashboard")
15
  st.markdown(""" This application provides a suite of interactive visualizations—pie charts, bar charts, scatter plots, and more—that let you explore crime patterns in the LAPD dataset from multiple angles. Quickly see which offense categories dominate, compare arrest rates against non-arrests, track how crime volumes change over time, and examine geographic hotspots. These insights can help police departments, community organizations, and policymakers allocate resources more effectively and design targeted strategies to improve public safety.""")
16
 
17
  # 2. Data info & load
 
9
  page_icon="📊",
10
  layout="wide"
11
  )
12
+ st.markdown("""
13
+ <style>
14
+ .title {
15
+ text-align: center;
16
+ padding: 25px;
17
+ }
18
+ </style>
19
+ """, unsafe_allow_html=True)
20
+
21
+ st.markdown("<div class='title'><h1> LAPD Crime Insights Dashboard </h1></div>", unsafe_allow_html=True)
22
 
23
  # 1. Page title
 
24
  st.markdown(""" This application provides a suite of interactive visualizations—pie charts, bar charts, scatter plots, and more—that let you explore crime patterns in the LAPD dataset from multiple angles. Quickly see which offense categories dominate, compare arrest rates against non-arrests, track how crime volumes change over time, and examine geographic hotspots. These insights can help police departments, community organizations, and policymakers allocate resources more effectively and design targeted strategies to improve public safety.""")
25
 
26
  # 2. Data info & load