loading and parsing Coronavirus data
✓ Published1🌍 Public
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 descriptionLine chart of Coronavirus cases to date. Data from Johns Hopkins Coronavirus Dataset.
See also:
MIT Licensed