Loading and parsing Coronavirus data - with D3
✓ Published1🌍 Public
This example demonstrates how to load and parse the Johns Hopkins Coronavirus dataset using D3’s `d3.csv` method. It displays a summary of the fetched data in a large `<pre>` element, showing the file size in kilobytes, the total column count, and the number of data rows. The code retrieves the data from a raw GitHub URL, and uses `d3.csvFormat` to calculate the file size and `data.columns` to determine the column count. It uses D3 v6 (via `d3.min.js`) and runs entirely in the browser through a bundled script.
AI-generated descriptionLoads and parses Johns Hopkins Coronavirus Dataset.
MIT Licensed