covid-dashboard icon indicating copy to clipboard operation
covid-dashboard copied to clipboard

Plot fatalities

Open GaelVaroquaux opened this issue 4 years ago • 4 comments

Several people (on twitter) asked a plot of the fatalities.

I think that this not should be overlayed to the exciting plot, as it is too dense. Rather, it would be interesting to add a button that switches the plot from active cases to fatalities.

GaelVaroquaux avatar Mar 19 '20 01:03 GaelVaroquaux

I would like to give this a try, it might take me sometimes though to figure it out.

mrastgoo avatar Mar 25 '20 20:03 mrastgoo

great Mojdeh, do you want to have a quick chat to talk about how to do this?

emmanuelle avatar Mar 26 '20 14:03 emmanuelle

yes, that would be great, I will be free after 6 pm tonight, btw I was thinking to use the last approach here https://plotly.com/python/custom-buttons/, basically creating a list of True and False for the visibility of countries within active, prediction and fatalities, respectively

mrastgoo avatar Mar 26 '20 15:03 mrastgoo

Yes, adding a custom button in order to toggle the visibility of active and fatalities traces would work!

emmanuelle avatar Mar 26 '20 20:03 emmanuelle