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 stars3🌍 Public
CCurran Kelleher
Last edited Apr 6, 2020
Created on Mar 21, 2020

This example demonstrates the initial steps of working with the Johns Hopkins Coronavirus dataset by loading a CSV file and displaying basic statistics about it. It fetches the data using `d3.csv` from a pinned GitHub URL, then calculates and shows the file size in kilobytes, the number of rows, and the number of columns in a large HTML `<pre>` element. The code uses `d3.csvFormat` to measure the data length and accesses `data.columns` to determine the column count, presenting a raw summary of the dataset’s structure.

AI-generated description

This program loads and parses the Johns Hopkins Coronavirus Dataset.

Comments

Sign in to join the discussion.

MIT Licensed