Skip to main content
100%

Loading and Parsing Coronavirus Data

✓ Published1🌍 Public
TThomas Cormican
Last edited Jan 13, 2022
Created on Jan 13, 2022

This example demonstrates the size and structure of the Johns Hopkins Coronavirus Dataset by displaying three key metrics: the total file size in kilobytes, the number of rows, and the number of columns. It loads a global CSV file of COVID-19 deaths using `d3.csv`, then formats the data with `d3.csvFormat` to calculate its byte count. The resulting statistics are displayed in large text via a `<pre>` element, with values rounded using `Math.round`.

AI-generated description

This program loads and parses the Johns Hopkins Coronavirus Dataset

MIT Licensed

Similar vizzes