Fork of Loading and Parsing CSV Data
✓ Published0🌍 Public
This example demonstrates loading and parsing CSV data from a remote source, displaying the dataset’s size in kilobytes, row count, and column count. It uses the d3.csv function to fetch and parse the CSS Named Colors dataset from a GitHub Gist, then formats the summary using d3.csvFormat. An alternative commented-out approach uses the fetch API with async/await and d3.csvParse. The visual output is plain text rendered inside a large HTML `<pre>` element.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed