Skip to main content
100%

Loading and Parsing coronavirus data

✓ Published1🌍 Public
Ccynichole
Last edited Mar 14, 2022
Created on Mar 14, 2022

This example demonstrates how to load and parse the Johns Hopkins coronavirus time-series dataset using D3 v7's `d3.csv` method. It displays essential metadata about the fetched data in a large preformatted text block, including the number of rows, column count, and file size in kilobytes. The code computes these values by accessing `data.length`, `data.columns`, and measuring the length of the formatted CSV string via `d3.csvFormat`. The visualization serves as a practical demonstration of remote CSV loading and basic data inspection.

AI-generated description

This program loads and parses the John Hopkins coronavis dataset;

MIT Licensed

Similar vizzes