Skip to main content
100%

Loading and Parsing Coronavirus Data

✓ Published1🌍 Public
Ee-ines
Last edited Apr 27, 2021
Created on Apr 25, 2021

This example demonstrates how to load and parse the John Hopkins Coronavirus dataset. It uses the `d3.csv` API to fetch the CSV file, then calculates and displays the dataset's size in kilobytes, row count, and column count. The final message is rendered in a large `pre` element. The code also includes commented-out alternatives using `fetch` with async/await and nested promises, but the active implementation relies on D3's built-in parsing.

AI-generated description

This program loads and parses the John Hopkins Coronavirus Dataset.

MIT Licensed

Similar vizzes