The interactive dashboard above is built using Altair, a declarative visualization library in Python. This tool visualizes the progress of India's COVID19 vaccination drive.
Here is a deep technical dive into building this visualization tool.
The state-wise vaccination statistics is sourced from the Indian government's ministry of health and family welfare website. This data is cached in the project's GitHub repo.
In addition to Altair, the other dependent libraries for this visualization code are Pandas, GeoPandas and Numpy.
This explainer is divided into two sections:
Import dependencies
Part 01 -- Demo visualization of US airport locations
This is an example visualization using Altair to demonstrate its ability to interactively plot geospatial data.
This visualization example is adapted using the official example script in Altair library. To minimize data dependencies of this example script, Altair's built-in US airport location data and mapping information are used here.
Part 02 -- Visualizing COVID19 vaccination progress in India
Read map data and vaccination statistics
Pre-process the GeoJSON data and the state-wise vaccination statistics
Plot vaccine statistics on the state-wise map of India
Since we first launched this COVID19 visualization project in April 2020, we have been continuously updating the forecasts as well as the COVID19 statistics for India and constantly improving the dashboard. This project has been developed and updated by Moad Computer. But, if you find this work compelling, your support matters immensely. Please take a moment and consider supporting this project using the donate button below.
If your organization needs a simple solution to your complex data needs or your next data-science/artificial intelligence project needs our assistance, feel free to fill-out our consultation intake form (~1 min task).
0 Comments
Your comment will be posted after it is approved.
Leave a Reply. |
OverviewMoad Computer is an actionable insights firm. We provide enterprises with end-to-end artificial intelligence solutions. Actionable Insights blog is a quick overview of things we are most excited about. Archives
November 2022
Categories |