covid19india / covid19india-react

Tracking the impact of COVID-19 in India
https://www.covid19india.org
MIT License
6.86k stars 3.41k forks source link

Fix the range for the # deaths reported per day #2502

Closed prabhuvashwin closed 3 years ago

prabhuvashwin commented 3 years ago

Describe the bug Currently, the number of deaths reported per day has a range from -2L to 8L, and since the # of deaths per day is ~3K, this graph is always a straight line. Fix the range to represent the data -> -2K to 10K would be accurate.

To Reproduce Please see the screenshot attached below

Expected behavior The # of deaths graph should represent the scale of the data, and should show the increase and decrease in reported deaths

Screenshots

Screen Shot 2021-06-15 at 23 59 07
ujjwalpuri29 commented 3 years ago

Workaround If you uncheck the uniform button above the graphs, all graphs will have their own scale and this will not be a straight line

Recommendation Other graphs like tested and vaccination have their own scale since their data is different. Similarly we can have a custom scale for this. Although I do realise that uniform scale is to show that number of deaths is wayyyyy less than confirmed cases so as to not instill fear I guess but having a straight line doesn't really help the cause