Viewing a saved revision (read-only)
737c715b28f3442a94f22fa1215778b3
Loading and Parsing CoVid-19 Data
This example demonstrates loading and parsing the Johns Hopkins COVID-19 deaths dataset with D3 v5. It displays basic statistics about the dataset in a large text element: the file size in kilobytes, the row count, and the number of columns. The code uses `d3.csv()` to fetch the CSV file and then `d3.csvFormat()` to calculate the raw data size. It reports the latest date column by examining `data.columns`, providing a textual summary of the dataset’s structure.
AI-generated descriptionThis program loads and parses the [Johns Hopkins Corona Virus Dataset (https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv)