🌍 Public
Viewing a saved revision (read-only)
d206d1f748c0439ba9d3a7c76d19a037
Loading and Parsing Coronavirus Data
This example loads the Johns Hopkins Coronavirus global deaths time-series dataset and displays basic file statistics: the approximate size in kilobytes, the number of rows, and the number of columns. It retrieves the CSV from a GitHub raw URL using `d3.csv` and the Promise-based `.then` method, then formats the data with `d3.csvFormat` to compute its length. The resulting message is rendered into a large `<pre>` element using standard DOM selection. The code demonstrates parsing and summarizing a tabular dataset with D3 v5.
AI-generated descriptionThis program loads and parses the John Hopkins Coronavirus Dataset.