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
KK3zter
Last edited Dec 20, 2021
Created on Dec 20, 2021

This visualization demonstrates how to load and parse the Johns Hopkins Coronavirus Dataset, displaying basic file statistics in a large preformatted text element. It fetches the global deaths time series CSV via `d3.csv`, then computes the data size in kilobytes using `d3.csvFormat`, and counts the rows and columns from the parsed array and its `data.columns` property. The final message shows the latest date column, total file size, row count, and column count, all rendered into the DOM via `textContent`. The example highlights D3’s Promise-based data loading and inspection of CSV metadata.

AI-generated description

This program loads and parses the Johns Hopkins Coronavirus Dataset

Comments

Sign in to join the discussion.

MIT Licensed