def confirmed_cases_callback(state): fig = deaths_chart(state) return [fig]
dbc.Card( dbc.CardBody([ html.Div( id="death-chart-title", # "Death Trajectory", className="bottom-chart-h1-title", ), html.Div( "Last 30 days", className="bottom-chart-h2-title", ), html.Div( dcc.Loading( dcc.Graph( id="deaths-timeline", figure=deaths_chart(), config={"responsive": False}, style={"height": "20vh"}, className= "top-bottom-mid-chart-figure", ), style={ "padding-top": "8px", }, color="#19202A", ), id="chart-container", ), ]), ), className="top-bottom-mid-chart", width=4,