namdini commited on
Commit
8307b9d
·
verified ·
1 Parent(s): d29859a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -129,7 +129,7 @@ def create_map(df, selected_year):
129
 
130
  return m
131
 
132
- def 5_create_injuries_fatalities_chart(crash_data):
133
 
134
  # 5th visualization title
135
  st.header("5. Total Injuries and Fatalities by Month")
@@ -301,7 +301,7 @@ def main():
301
  )
302
 
303
  # Create 5th Visualization: Injuries and fatalities chart
304
- injuries_fatalities_chart = 5_create_injuries_fatalities_chart(df)
305
  st.altair_chart(injuries_fatalities_chart, use_container_width=True)
306
  st.markdown("#### TODO: add write-up for this 5th chart.")
307
 
 
129
 
130
  return m
131
 
132
+ def create_injuries_fatalities_chart(crash_data):
133
 
134
  # 5th visualization title
135
  st.header("5. Total Injuries and Fatalities by Month")
 
301
  )
302
 
303
  # Create 5th Visualization: Injuries and fatalities chart
304
+ injuries_fatalities_chart = create_injuries_fatalities_chart(df)
305
  st.altair_chart(injuries_fatalities_chart, use_container_width=True)
306
  st.markdown("#### TODO: add write-up for this 5th chart.")
307