Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing Coronavirus Data

Public visualization

Viewing a saved revision (read-only)

e343afc23025422998c2c64d2726cfa8

Loading and Parsing Coronavirus Data

0 stars1🌍 Public
BBen Brophy
Last edited Jan 7, 2022
Created on Jan 7, 2022

This example demonstrates the initial step of loading and parsing a global coronavirus death time-series dataset from the Johns Hopkins CSSE GitHub repository. The page prominently displays the raw CSV data in a large, readable font within a `<pre>` element, though the code itself only retrieves the data and identifies the latest date column from the dataset. The visualization uses `d3.csv` to fetch and parse the remote CSV file, with the D3 library version 7 loaded from a CDN. The code explicitly references the final column containing the most recent date's death counts.

AI-generated description