Skip to main content
100%

Loading and Parsing Coronavirus Data

✓ Published1🌍 Public
MMichael Bruno
Last edited Feb 24, 2023
Created on Feb 15, 2023

This example demonstrates the initial step of working with the COVID-19 time-series dataset from the CSSE at Johns Hopkins University, showing the file size, row count, and column count of the data. It loads a global deaths CSV via `d3.csv` with a promise, then extracts the latest date column from the data’s headers. The computed metadata is displayed in a large `<pre>` element using plain DOM manipulation. The code uses D3 v5’s `csv` and `csvFormat` APIs, with no additional visualization or rendering beyond text output.

AI-generated description
MIT Licensed

Similar vizzes