Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display fatalities in dashboard #95

Merged
merged 9 commits into from
Mar 29, 2020
Merged

Conversation

emmanuelle
Copy link
Contributor

This work has been mostly done by @mrastgoo, and I did some Javascript finishing touches.

It is now possible to toggle between confirmed cases and fatalities thanks to a radio button. Note that we could use a similar approach for log vs linear, which would remove the bug that everything resets to linear when a country is added. It's just a bit involved to code because you have to detect which radio button was clicked.

@emmanuelle
Copy link
Contributor Author

emmanuelle commented Mar 29, 2020

When merging please don't squash to keep all contributors :-)

@emmanuelle
Copy link
Contributor Author

Supersedes #94

@emmanuelle
Copy link
Contributor Author

@poldrack if we merge this do you think we should update the text as well?

@poldrack
Copy link
Contributor

poldrack commented Mar 29, 2020 via email

@GaelVaroquaux
Copy link
Contributor

GaelVaroquaux commented Mar 29, 2020

This does not seem significantly slower even on mobile phone.

+1 for merge. After this, if @poldrack can help with reworking the text. I think that it would be important to mention quite high that we are just plotting the data as reported, and not accounting for reporting biases. It is more and more clear that some countries have huge reporting biases in their casualties.

@poldrack
Copy link
Contributor

poldrack commented Mar 29, 2020 via email

@GaelVaroquaux
Copy link
Contributor

Thanks @poldrack!

And thanks @mrastgoo for the contribution.

Merging this one, it has been a long asked for feature.

@GaelVaroquaux GaelVaroquaux merged commit 6e0a4d4 into covid19-dash:master Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants