Skip to main content
100%

Loading and Parsing Coronavirus Data

✓ Published1🌍 Public
AAndrea Picciau
Last edited Nov 5, 2021
Created on Nov 5, 2021

This example demonstrates the raw size and structure of the Johns Hopkins Coronavirus Dataset by displaying three key metrics: file size in kilobytes, row count, and column count. It loads the global deaths time-series CSV and parses it using `d3.csv`, then reports the number of columns from the dataset’s header. The code computes the file size from `d3.csvFormat(data).length` and renders the results as large text in a `<pre>` element via `textContent`. It uses D3 v5’s promise-based loading API.

AI-generated description

This program loads and parses the Johns Hopkins Coronavirus Dataset

MIT Licensed

Similar vizzes