Skip to main content
100%

Loading and Parsing Coronavirus Data

✓ Published1🌍 Public
WWolfgang
Last edited Apr 9, 2021
Created on Apr 9, 2021

This example demonstrates how to load and parse the Johns Hopkins Coronavirus Dataset using D3 v6. The visualization displays three key statistics about the CSV file: its size in kilobytes, the number of rows, and the number of columns. The code uses `d3.csv` to asynchronously fetch the data from a GitHub URL, then leverages `d3.csvFormat` to calculate file size and accesses `data.columns` and `data.length` for column and row counts. Results are rendered as text in an HTML `<pre>` element using standard DOM methods.

AI-generated description

This program loads and parses the Johns Hopkins Coronavirus Dataset.

MIT Licensed

Similar vizzes