🌍 Public
Viewing a saved revision (read-only)
ed8b1cdfb79d4c3b8582e7a1b3f4c527
Loading and Parsing Coronavirus Data
This example demonstrates loading a global COVID-19 death time-series dataset using D3 v5. It fetches a CSV file from the Johns Hopkins CSSE GitHub repository and parses it with `d3.csv`. The visualization displays a large-text summary showing the data’s size in kilobytes, the number of rows, and the number of columns, computed via `d3.csvFormat` and the parsed array’s properties. It relies on the native `fetch` API and a promise handler, with commented alternatives using `async`/`await` and nested callbacks.
AI-generated description