Skip to main content
Public

Share visualization

Loading preview…

Loading 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

Loading World Vaccination Data

1
SSeekerzero
Last edited Jan 23, 2023
Created on Jan 22, 2023

This example demonstrates the initial stage of loading and parsing World Health Organization COVID-19 vaccination data from a CSV file. It displays the raw parsed data as a JSON-formatted string within a `<pre>` element, showing the dataset's structure and fields. The page uses a state-management pattern where the data transitions from `undefined` to `'LOADING'` and finally to an array of parsed objects. The code relies on D3 v7's `select` and `csvParse` functions, fetching the CSV from a GitHub Gist and converting numeric string fields into JavaScript numbers, with special handling to set zero-value booster dose fields to `null`.

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