Coronavirus Map and Live Data Tracker with MongoDB Charts
Maxime BeugnetPublished Feb 17, 2022 • Updated Jan 26, 2023
Rate this article
- Removed links to Thomas's dashboard as it's not supported anymore.
- Updated some Charts in the dashboard as JHU discontinued the recovered cases.
- MongoDB Open Data COVID-19 is now available on the new MongoDB Developer Hub.
- You can check our code samples in our Github repository.
- The JHU dataset changed again a few times. It's not really stable and it makes it complicated to build something reliable on top of this service. This is the reason why we created our more accessible version of the JHU dataset.
- It's the same data but transformed in JSON documents and available in a readonly MongoDB Cluster we built for you.
- Johns Hopkins University changed the dataset they release daily.
- I created a new dashboard based using the new dataset.
- My new dashboard updates automatically every hour as new data comes in.
Thomas Rueckstiess and myself came up with two MongoDB Charts dashboards with the Coronavirus dataset.
Here is an example of the charts we made using the Coronavirus dataset. More below and in the MongoDB Charts dashboards.
We have to make decisions at work every day.
- Should we discontinue this project?
- Should we hire more people?
- Can we invest more in this branch? How much?
Leaders make decisions. Great leaders make informed decisions, based on facts backed by data and not just based on assumptions, feelings or opinions.
The management of the Coronavirus outbreak obeys the same rules. To make the right decisions, we need accurate data.
Data about the Coronavirus is relatively easy to find. The Johns Hopkins University has done a terrific job at gathering, cleaning and curating data from various sources. They wrote an excellent blog post which I encourage you to read.
Having data is great but it can also be overwhelming. That's why data visualisation is also very important. Data alone doesn't speak and doesn't help make informed decisions.
Johns Hopkins University also did a great job on this part because they provided this dashboard to make this data more human accessible.
This is great... But we can do even better visualisations with MongoDB Charts.
Thomas Rueckstiess and I imported all the data from Johns Hopkins University (and we will keep importing new data as they are published) into a MongoDB database. If you are interested by the data import, you can check my Github repository.
Then we used this data to produce a dashboard to monitor the progression of the virus.
MongoDB Charts also allows you to embed easily charts within a website... or a blog post.
Here are a few of the graphs I was able to import in here with just two clicks.
As you can see, MongoDB Charts is really powerful and super easy to embed.
If you have a source of data that provides different or more accurate data about this virus. Please let me know on Twitter @MBeugnet or in the MongoDB community website. I will do my best to update this data and provide more charts.
- Image credit: Scientific Animations (CC BY-SA 4.0).
How to Query from Multiple MongoDB Databases Using MongoDB Atlas Data Federation
Feb 27, 2023