Skip to main content
100%

Loading and Parsing Coronavirus Data

✓ Published1🌍 Public
Wwindwaver
Last edited Apr 13, 2021
Created on Apr 13, 2021

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
MIT Licensed

Similar vizzes