Skip to main content
100%

Loading COVID-19 Vaccine CSV Data

✓ Published0🌍 Public
PPeter VanNostrand
Last edited Sep 28, 2021
Created on Sep 8, 2021

This example demonstrates how to load and parse a CSV dataset of US state-level COVID-19 vaccination records, covering daily updates from April through September 2021. It displays the file size in kilobytes, row count, and column count. The code uses D3 v5’s `d3.csv` method to fetch and parse the data, then accesses `data.length` and `data.columns` to summarize the dataset. Alternative approaches using `fetch`, `async/await`, and `d3.csvParse` are also shown in commented-out sections.

AI-generated description

A program that loads and parses some CSV data

Data Source: US Vaccination Data by State/Territory.

The dataset visualized contains daily vaccination information for all US states starting 04/01/2021 and running through 09/04/2021. Relevant attributes include the date, location (state), total number of vaccinations, total vaccinations distribution, the number of people vaccinated, the number of people fully vaccinated, the share of doses used and more.

MIT Licensed

Similar vizzes