Commit 055f5ddc3b
Verified · cmc
Layout: unified · split
app.py +1 −1
| @@ -15,7 +15,7 @@ df['year'] = df['date'].str[-4:] | ||
| 15 | 15 | # Configure HTML layout |
| 16 | 16 | app = Dash(__name__) |
| 17 | 17 | app.layout = html.Div(children = [ |
| 18 | html.H1(children="Omaha Police Invidents", style={"textAlign":"center"}), | |
| 18 | html.H1(children="Omaha Police Incidents", style={"textAlign":"center"}), | |
| 19 | 19 | html.Div([ |
| 20 | 20 | html.H2(children="Totals per Category and Year", style={"textAlign":"center"}), |
| 21 | 21 | dcc.Dropdown(df.sort_values("description").description.unique(), "INJURY", id="dropdown"), |
screenshots/dashboard.png
Binary file not shown.