LightningChart JS example which showcases combination of
ChartXY features to implement a multi-dimensional data visualization. Amount of new CoVID cases in each country are displayed with a bubble (size and color represents number of new cases), while country color represents the vaccination coverage in the country (1 or more vaccines).
The global number of daily cases as well as average vaccination coverage is displayed at the bottom. The active date that is displayed in the main chart above can be changed by dragging on the slider.
By placing mouse cursor above the main chart, a popup chart will be displayed over the nearest country from the mouse location. This chart shows the previous 4 weeks data from the active date. Depending on availability, the following data will be shown:
- Vaccination coverage (1 vaccination, % of country population)
- New CoVID cases (graph displays number relative to population, while label displays actual number of cases)
- Hospitalized CoVID patients (graph displays number relative to population, while label displays actual number of patients)
- Intensive care CoVID patients (graph displays number relative to population, while label displays actual number of patients)
The idea behind measurements relative to population is that the readings can be compared between countries, even if they might have different number of citizens.
Drill-down to data
By left-clicking once, you can drill down around the mouse location. For example, clicking around the Europe area will zoom the map view into just Europe. Further more, you can drill down into a single country to show the full historical progression of that country's CoVID data.
In this view you can also compare a single country's data to the calculated average from available global data.
Zooming back out can be done by double left-clicking.
General CoVID data is from the openly accessible Owid Covid dataset found in GitHub.
CoVID Vaccine data is referenced from the work of Hasell, J., Mathie, E., Beltekia, D. et al. A cross-country database of COVID-19 testing. Sci Data 7, 345 (2020).
More map examples: