Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

loading and parsing Coronavirus data

Public visualization

Viewing a saved revision (read-only)

eea9d09bf9ef4be4b5ab979e37052bed

loading and parsing Coronavirus data

0 stars1🌍 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: