Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -135,7 +135,7 @@ app.layout=html.Div([
|
|
| 135 |
html.Div([
|
| 136 |
html.Div([
|
| 137 |
dcc.Graph(id='detectedStateValue',
|
| 138 |
-
figure={'
|
| 139 |
'layout':go.Layout(title='No. of case in Different state',xaxis={'title':'State'},yaxis={'title':'Number of patients'})})
|
| 140 |
],className='card-body')
|
| 141 |
],className='card')
|
|
|
|
| 135 |
html.Div([
|
| 136 |
html.Div([
|
| 137 |
dcc.Graph(id='detectedStateValue',
|
| 138 |
+
figure={'data':[go.Bar(x=detectedStateValue['Province/State'],y=detectedStateValue['Confirmed'])],
|
| 139 |
'layout':go.Layout(title='No. of case in Different state',xaxis={'title':'State'},yaxis={'title':'Number of patients'})})
|
| 140 |
],className='card-body')
|
| 141 |
],className='card')
|