Loading and Parsing Coronavirus Data
✓ Published0🌍 Public
This example demonstrates how to load and parse a CSV dataset containing CSS named colors using d3.csv. It displays the file size in kilobytes, the number of rows, and the number of columns in a large HTML <pre> element. The code fetches data from a GitHub gist URL and uses the Promise-based .then() method to process the returned array. It calculates the formatted CSV length with d3.csvFormat and reports the dataset’s dimensions.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed