🌍 Public
Viewing a saved revision (read-only)
89dea6ec9ac54f06a0c8648991d747d2
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.