Skip to main content
100%

Loading and Parsing Coronavirus Data

✓ Published0🌍 Public
Zzhangwbhi
Last edited Sep 10, 2021
Created on Sep 10, 2021

This example displays basic statistics about the Johns Hopkins Coronavirus Dataset, showing the file size in kilobytes, row count, and column count in large text. It loads the CSV data with `d3.csv` and its promise-based `.then` method, then uses `d3.csvFormat` to calculate the data size. React is used as the framework, though the visualization itself is a simple text output via the DOM. The code also includes commented alternatives using `fetch` with `async`/`await` and `d3.csvParse`.

AI-generated description
MIT Licensed

Similar vizzes