Skip to main content
Public

Share visualization

Loading preview…

Transforming World Vaccination Data

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Transforming World Vaccination Data

1
SSeekerzero
Last edited Jan 31, 2023
Created on Jan 30, 2023

This example transforms World Health Organization COVID-19 vaccination data from a CSV file into a structured summary of vaccine types used per country. It loads the dataset via a fetch request, parses the comma-separated values with `d3.csvParse`, and converts numeric string fields into numbers. The visualization then groups records by country using `d3.flatGroup`, extracts vaccine names from each entry’s `VACCINES_USED` field, and counts distinct vaccines per nation. The resulting aggregated list—showing country, vaccine names, and totals—is rendered as a formatted JSON string inside a `<pre>` element, offering a concise textual overview of global vaccination strategies from the WHO data source.

AI-generated description

https://covid19.who.int/data https://covid19.who.int/who-data/vaccination-data.csv

World Vaccination Data from WHO

Field name Type Description
COUNTRY String Country, territory, area
ISO3 String ISO Alpha-3 country code
WHO_REGION String WHO regional offices: WHO Member States are grouped into six WHO regions: Regional Office for Africa (AFRO), Regional Office for the Americas (AMRO), Regional Office for South-East Asia (SEARO), Regional Office for Europe (EURO), Regional Office for the Eastern Mediterranean (EMRO), and Regional Office for the Western Pacific (WPRO).
DATA_SOURCE String Indicates data source: - REPORTING: Data reported by Member States, or sourced from official reports - OWID: Data sourced from Our World in Data: https://ourworldindata.org/covid-vaccinations
DATE_UPDATED Date Date of last update TOTAL_VACCINATIONS Integer Cumulative total vaccine doses administered
PERSONS_VACCINATED_1PLUS_DOSE Decimal Cumulative number of persons vaccinated with at least one dose
TOTAL_VACCINATIONS_PER100 Integer Cumulative total vaccine doses administered per 100 population
PERSONS_VACCINATED_1PLUS_DOSE_PER100 Decimal Cumulative persons vaccinated with at least one dose per 100 population
PERSONS_FULLY_VACCINATED Integer Cumulative number of persons fully vaccinated
PERSONS_FULLY_VACCINATED_PER100 Decimal Cumulative number of persons fully vaccinated per 100 population
VACCINES_USED String Combined short name of vaccine: “Company - Product name” (see below)
FIRST_VACCINE_DATE Date Date of first vaccinations. Equivalent to start/launch date of the first vaccine administered in a country.
NUMBER_VACCINES_TYPES_USED Integer Number of vaccine types used per country, territory, area
PERSONS_BOOSTER_ADD_DOSE Integer Persons received booster or additional dose
PERSONS_BOOSTER_ADD_DOSE_PER100 Decimal Persons received booster or additional dose per 100 population

Comments

Sign in to join the discussion.

MIT Licensed