User:Ajuanca/sandbox/graphIt
Appearance
< User:Ajuanca | sandbox
The data
[edit]The data is hosted on Commons here using tabular data structure.
Date | New cases | New hospitalizations | New ingresed to ICU | Daily deceased |
---|---|---|---|---|
2020-02-02 | 0 | 0 | 0 | 0 |
2020-02-03 | 1 | 1 | 0 | 0 |
2020-02-04 | 3 | 2 | 1 | 0 |
2020-02-05 | 6 | 3 | 2 | 1 |
2020-02-06 | 20 | 14 | 5 | 1 |
2020-02-07 | 47 | 23 | 17 | 7 |
Esto es solo una prueba Data available under Creative Commons Zero. |
The code
[edit]We need to process the data of the table. The module is here.
Script error: The function "getData" does not exist.
The template
[edit]It's planned to use the chart graph or a modified version of it.
The graph
[edit]{{#invoke:Sandbox/Ajuanca/GraphIt|getData|COVID-19 cases in Asturias}}
outputs:
Script error: The function "getData" does not exist.
{{#invoke:Sandbox/Ajuanca/GraphIt|getDates|COVID-19 cases in Asturias}}
outputs:
Script error: The function "getDates" does not exist.
Final plot
[edit]Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |
Resources
[edit]Tests
[edit]/!\ content in this section could change without previous notification.
Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |