Loading and Parsing Coronavirus Data
✓ Published0🌍 Public
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 descriptionThis program loads and parses the Johns Hopkins Coronavirus Dataset.
See also:
MIT Licensed