DEV Community

Discussion on: 📈 I've open-sourced a simple Coronavirus (COVID-19) dashboard (React + Chart.js + BootstrapTable)

Collapse
 
conermurphy profile image
Coner Murphy

Love it. Not that we need another one but I'm going to start work on my version of a dashboard. In such horrible circumstances like this pandemic it's amazing how it can be used a learning activity.

One question, did you consider using D3.js, I've looked at chart JS in the past and thought it was great but I hear D3 is more full featured?

Also, is there an API for this data? Or did you need to do some extra work? I had a brief look around the source you linked before couldn't find anything.

Collapse
 
trekhleb profile image
Oleksii Trekhleb

Yes, I've considered to use D3.js since I believe it is much more customisable and powerful. However I've switched to Chart.js for now just for simplicity reasons and deliver the chart faster. But in the future I believe D3 might be a very good option.

I've linked the datasource for the dashboard at the bottom of the page, it is "Novel Coronavirus (COVID-19) Cases, provided by JHU CSSE" (github.com/CSSEGISandData/COVID-19)