Jump to content

User:Ajuanca/sandbox/graphIt

From Wikipedia, the free encyclopedia

The data

[edit]

The data is hosted on Commons here using tabular data structure.

COVID19 daily reported cases in Asturias
DateNew casesNew hospitalizationsNew ingresed to ICUDaily deceased
2020-02-020000
2020-02-031100
2020-02-043210
2020-02-056321
2020-02-06201451
2020-02-074723177
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]

Resources

[edit]

Tests

[edit]

/!\ content in this section could change without previous notification.