Covid Data – making the application – part 4

Now I need an application. The first version was a simple html file with Data Tables ( https://datatables.net/ ). You can find at https://ignatandrei.github.io/WFH_Resources/output.html . It is a simple table with search / filter and sorting.

The next , with help from Bogdan we have  started an Angular application , deployed at https://ignatandrei.github.io/WFH_Resources within the docs folder : http://github.com/ignatandrei/wfH_Resources/docs

For Angular the only thing that gives me problems were the charts : https://ignatandrei.github.io/WFH_Resources/covidData/Italy-Romania  . I used the https://www.chartjs.org/ . It is very flexible and doing all that I have wanted. The only problem : it retains previous graphic. I have to manually clear the canvas before rendering again the chart.

if (this.lineChart1) {

this.lineChart1.destroy();

}

You can find the charts at https://ignatandrei.github.io/WFH_Resources/covidData/Italy-Romania