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 stars0๐ŸŒ 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

Comments

Sign in to join the discussion.

MIT Licensed