Fork of Loading and Parsing CSV Data
✓ Published0🌍 Public
This example demonstrates how to load and parse CSV data using both the D3.js `d3.csv` method and the native Fetch API with `async`/`await`. It displays statistics about the dataset—file size in kilobytes, row count, and column count—in a large `<pre>` element. The data source is a CSV file containing CSS named colors, hosted as a GitHub gist. The code also includes commented-out alternatives using the older Promise-based `fetch` pattern.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed