covid19-dash / covid-dashboard

Help welcomed if you have expertise in public health web technology, data modeling and munging, or visualization.
https://covid19-dash.github.io/
BSD 3-Clause "New" or "Revised" License
131 stars 41 forks source link

Plot fatalities #67

Open GaelVaroquaux opened 4 years ago

GaelVaroquaux commented 4 years ago

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.

mrastgoo commented 4 years ago

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

emmanuelle commented 4 years ago

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

mrastgoo commented 4 years ago

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

emmanuelle commented 4 years ago

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