🌍 Public
Viewing a saved revision (read-only)
e6857db0e3114d4c8ae76b0a8e1b1908
Loading and Parsing Coronavirus Data
This example demonstrates the initial steps of working with the Johns Hopkins Coronavirus dataset by loading a CSV file and displaying basic statistics about it. It fetches the data using `d3.csv` from a pinned GitHub URL, then calculates and shows the file size in kilobytes, the number of rows, and the number of columns in a large HTML `<pre>` element. The code uses `d3.csvFormat` to measure the data length and accesses `data.columns` to determine the column count, presenting a raw summary of the dataset’s structure.
AI-generated descriptionThis program loads and parses the Johns Hopkins Coronavirus Dataset.