BustByte / coronastatus

Anonymous crowd sourcing of COVID-19 symptoms all over the world (with public data sets)!
MIT License
174 stars 89 forks source link

Chart monotone interpolation #410

Closed dojeda closed 4 years ago

dojeda commented 4 years ago

I have noticed that the statistics page line charts use an interpolation function that may cause non-monotonic curves when results arrive in a very small window. For example, currently on coronastatus.fr :

image

This can be quickly fixed by changing the interpolation options of the corresponding charts, here is a comparison of two curves done in a local dataset:

image

I will attach a PR in a couple of minutes to fix it...