mathiastj / corona-graphs Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://mathiastj.github.io/corona-graphs
Home Page: https://mathiastj.github.io/corona-graphs
After switching to the new data source #33
Use the data from that instead of calculating it.
Data source is no longer updated, switch to new at: https://raw.githubusercontent.com/owid/covid-19-data/master/public/data/owid-covid-data.csv
Even though it does not make much sense since testing is scarce
It could do with some cleanup or some rewrite
The colors should stay in the pool until the line is enabled.
Figure out if possible.
If both log and per million is enabled at the same time, the graph can dip below the minimum y axis, which is defined as 1.
If the minimum is set below 1 log the log view produces worse results for non per million results.
It cannot be set to dataMin since that is 0 and recharts won't render that so it just produces a blank graph.
Could be fixed with:
Instead of calculating the ymaxprioritizedkeys in line-charts.js, do it in app.js since we're already looping over the same data.
Many countries have started not reporting new case and deaths number during the weekend. This makes the graphs have big spikes up and down each weekend.
Add an option to enable rolling averages, which will smooth out the graphs and possibly give a better overview.
Add date validation on input.
I.e. totalCases, newDeaths, PerCapita, Rolling etc. etc.
Check response and show an error that data is not available if not 200
After changing the source to the new updated OWID one, change the source attribution in the top right corner.
Numbers above 1.000.000 cannot be seen
As the data file gets bigger and bigger the parseData function takes way too long, since it loads data for every single country initially.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.