Loading and Parsing Coronavirus Data
✓ Published1🌍 Public
This example demonstrates how to load and parse a global coronavirus deaths time-series dataset. It fetches CSV data from the Johns Hopkins CSSE GitHub repository using the `d3.csv` method, which returns a Promise. After loading, the program computes and displays summary statistics—the file size in kilobytes, the number of data rows, and the number of columns—within a large HTML `<pre>` element. The visualization uses D3 v5’s `csvFormat` to calculate the byte length of the formatted data, highlighting a straightforward data-processing workflow without any graphical chart.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed