I built a covid-19 update tracker💻 during quarantine, you can contribute too!
kapeel kokane
Posted on March 27, 2020
The backdrop
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:
https://covindia.netlify.com/
https://www.covidvisualizer.com/
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.
The process
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:
https://github.com/NovelCOVID/API
which was exposing the data based on numbers maintained by:
https://www.worldometers.info/coronavirus/
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.
After some tinkering, I was able to achieve the result that I wanted.
The Result
Do check it out yourself here:
https://kokanek.github.io/corona-tracker/
(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:
https://github.com/kokanek/corona-tracker
Do check it out. Also, let me know if you have any more feature suggestions based on the API available.
Cheers!
Posted on March 27, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.