The covid-19 outbreak has hit the world like a storm and times have changed more quickly than we could ever imagine.
Like most of the IT companies, the one that I work for has mandated work from home for the safety of the employees. My own country, India is fighting a very hard battle with a 21-day Nation Wide Lockdown in place.
With such measures being taken, I was keen on finding the severity of the situation in other countries and wanted to know how they were handling the problem.
To investigate the same, I tried to look online for dashboards available that provide the relevant data. Some of them were boring old tables while others were quite artistic like these:
But they did not seem to fulfil the requirement I had, i.e. visualize the scale of impact on different countries in a single graph. So I set out to build a covid dashboard myself.
In the beginning, I thought I would scrape the WHO official site for the numbers that were required, deploy a Node.JS endpoint that would return me those numbers in the form of an API, and then, call that API in the front end. I later found out this awesome API that was doing exactly the same:
which was exposing the data based on numbers maintained by:
So I thought I would use those.
For visualization, I thought I would go with BizCharts as they have the most diverse set of graphing APIs that I have ever seen. And for the framework, I went with ant design just because I am more comfortable with it.
Do check it out yourself here:
(You might want to refresh if you don't get the data right away as the API sometimes does not return data due to heavy load)
Here is the link to the github repo:
Do check it out. Also, let me know if you have any more feature suggestions based on the API available.
Claim your page on DEV before someone else does
Level up every day