covidatlas / coronadatascraper

COVID-19 Coronavirus data scraped from government and curated data sources.
https://coronadatascraper.com
BSD 2-Clause "Simplified" License
364 stars 179 forks source link

Show deaths rate in addition to confirmed cases rate #1010

Closed gena closed 4 years ago

gena commented 4 years ago

This should add an option to show the death rate per population in addition to the confirmed infected cases, as shown here:

pr-cases-deaths

lazd commented 4 years ago

Can you make it a <select> instead of a checkbox?

gena commented 4 years ago

Can you make it a <select> instead of a checkbox?

Done

image

This can be probably extended to other variables, like Recovered, Admitted to ICU, etc.

jzohrab commented 4 years ago

@gena - that's super! We've been moving some code around, so I'm not sure of the destination for the PR. @lazd - is this PR in the right place?