octopicorn / covid19-charts

Make your own chart of the covid-19 pandemic, comparing timeseries for any countries, states, and US counties.
https://valis.pub
35 stars 6 forks source link

add control to show chart data as percentage of population #26

Closed octopicorn closed 4 years ago

octopicorn commented 4 years ago

find a data source for world population that matches the countries we have here

use this to apply a transformation to the timeseries: newValue = rawValue / countryPopulation

the y axis will now plot between 0 - 100% (or more likely, 0 - 0.001%)

add this control on top row. shrink control fonts a bit to make it fit

rhazegh commented 4 years ago

This would be fantastic!

octopicorn commented 4 years ago

https://github.com/octopicorn/covid19-charts/pull/35