Skip to main content
100%

Loading and Parsing Coronavirus Data

✓ Published1🌍 Public
AAnthony Ynami
Last edited Feb 25, 2021
Created on Feb 25, 2021

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 description

A Program that loads and parses the Johns Hopkins Coronavirus Dataset

MIT Licensed

Similar vizzes