Fork of Loading and Parsing CSV Data
✓ Published1🌍 Public
This example demonstrates how to load and parse CSV data from a remote URL, displaying the file size, row count, and column count in large text. The code uses D3 v5’s `d3.csv` method with a Promise to fetch the data, then measures it using `d3.csvFormat`. Alternatively, the commented-out code shows the same task using the Fetch API with async/await and `d3.csvParse`. The data source is a GitHub Gist containing CSS named colors.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed