🌍 Public
Viewing a saved revision (read-only)
c039fbf3f84d4ed59bfb641c9c0ee18c
Loading and Parsing Coronavirus Data
AAnthony Ynami
Last edited Feb 25, 2021
Created on Feb 25, 2021
Forked from Loading and Parsing CSV Data (less verbose)
This example demonstrates how to load and parse the Johns Hopkins Coronavirus dataset by displaying basic statistics about the fetched CSV file, including its size in kilobytes, row count, and column count. It uses D3 v6’s `d3.csv` method to fetch the remote dataset from a GitHub raw URL, then accesses `data.columns` and the `d3.csvFormat` function to calculate and present the summary information. The interface is a minimal HTML page with a large-text `pre` element that updates dynamically once the data has been successfully parsed.
AI-generated descriptionA Program that loads and parses the Johns Hopkins Coronavirus Dataset