DEV Community

Discussion on: 📈 I've open-sourced a simple Coronavirus (COVID-19) dashboard (React + Chart.js + BootstrapTable)

Collapse
 
trekhleb profile image
Oleksii Trekhleb

Logarithmic scale for COVID-19 registered/recovered/deaths charts is now supported in the dashboard. Log scale makes it easier to compare the trends for countries with huge difference in absolute numbers.

📈 trekhleb.github.io/covid-19/

Log scale demo gif

Collapse
 
indykpol profile image
indykpol

Nice work Oleksi, however, you are actually log-transforming the values, and not using the log scale. In log scale, the values are spaced according to the logarithm, however they are still the original values. Read on the different approaches here: people.umass.edu/whopper/posts/log...
Your solution loses interpretability.

Collapse
 
trekhleb profile image
Oleksii Trekhleb

Thanks for reporting that! I've created an issue here github.com/trekhleb/covid-19/issue...