Fork of Loading and Parsing CSV Data
✓ Published0🌍 Public
This example demonstrates how to load and parse CSV data using D3 and React. It fetches CSS Named Colors data from a GitHub gist and displays the file size in kilobytes, row count, and column count in a large text format. The code uses `d3.csv` with a Promise-based `.then` method, while commented alternatives show `fetch` with `async/await` and `d3.csvParse`. The React component renders the result into a `<pre>` element, with D3 version 5 and React 16 loaded from CDNs.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed