Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing Coronavirus Data

Public visualization

Loading and Parsing Coronavirus Data

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

Comments

Sign in to join the discussion.

MIT Licensed