Skip to main content
100%

loading and parsing Coronavirus data

✓ Published1🌍 Public
YYedrup
Last edited Feb 6, 2021
Created on Feb 6, 2021

This example demonstrates how to load and parse the Johns Hopkins Coronavirus global deaths dataset, displaying key metrics in oversized monospace text. It uses `d3.csv` to fetch the raw CSV and calculates the file size in kilobytes, row count, and column count from the parsed data. The visualization also logs the latest date column, showing the time series structure. The code includes commented alternatives using `fetch`, `async`/`await`, and `d3.csvParse`, illustrating different parsing approaches without rendering a chart.

AI-generated description

Line chart of Coronavirus cases to date. Data from Johns Hopkins Coronavirus Dataset.

See also:

MIT Licensed

Similar vizzes