johanley / covid-19-canada Goto Github PK
View Code? Open in Web Editor NEWCOVID-19 stats reported by Canadian governments. Supporting screenshots. CSV, JSON. Three months of data, from 2020-03-31 to 2020-06-30 inclusive.
COVID-19 stats reported by Canadian governments. Supporting screenshots. CSV, JSON. Three months of data, from 2020-03-31 to 2020-06-30 inclusive.
Example
500: Internal Server Error
https://raw.githubusercontent.com/johanley/covid-19-canada/master/data/screenshots/2020-03-31_22h00mADT/ab.png
It seemed fine yesterday.
Most data has a supporting screenshot, but there are exceptions.
If the screenshot doesn't support the data, then no link to the screenshot should be generated.
The following should not have a link to a screenshot.
Tests-performed :
Hospitalizations (all date ranges are inclusive; all of these occurred because I started collecting this statistic late, about mid-April):
In markdown world, the bar charts are truncated/maxed out when the screen-width is small.
(This issue applies only to the simplistic charts implemented in markdown; it doesn't apply to the better charts implemented with plotly.js)
This is a result of the implementation in github's markdown. That tool has no fine control over the CSS, as far as I can see. I have no means of changing the style of the table.
Mitigate: hold the device in landscape mode.
Maria DB, CREATE TABLE statements.
Current hospitalizations has been added.
This stat is not cumulative, so it can decrease over time.
The daily-change renders poorly when the value is negative: it's rendered the same as if it was positive.
Simpler: change the color for negative values.
Harder: change the zero-point of the graph.
Daily-change time series for CA on the home page is very spiky. This is very likely an artifact of the timing of reporting. ON and QC are two large jurisdictions. If the timing of reporting is not uniform, then this is exactly the kind of wild variation in the daily values for CA you would expect.
These large swings are reporting-artifacts. They should be removed because they are pretty meaningless, and downright misleading.
Instead, for the daily changes for CA, show a running average value. This will give a much more realistic picture of what's really going on.
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.