Loading and Parsing Coronavirus CSV Data
✓ Published1🌍 Public
This example demonstrates loading and parsing the Johns Hopkins Coronavirus global deaths time-series CSV dataset, displaying its size in kilobytes, row count, and column count. It uses d3.csv to fetch and parse the remote CSV file, then calls d3.csvFormat on the resulting data to measure its formatted length. The interface presents these metrics in a large HTML `<pre>` element, with the React framework integrating the D3 v5 code. The code also comments on alternative approaches using fetch, async/await, and nested promises.
AI-generated descriptionA program that loads and parses the John Hopkins Coronavirus Dataset
See also:
MIT Licensed