Fork of Loading and Parsing CSV Data
✓ Published0🌍 Public
This example displays the size and structure of a CSV dataset containing CSS named colors, showing its file size in kilobytes, row count, and column count. It loads the data from a GitHub gist using `d3.csv`, then formats and measures the content with `d3.csvFormat`. The code also includes commented alternatives using the Fetch API with `async`/`await` and `d3.csvParse`, demonstrating different approaches to parsing CSV data. The results appear in a large `<pre>` element.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed