🌍 Public
Viewing a saved revision (read-only)
f710fcbf85404baf8448839b47bba0fb
Loading and Parsing CSV Data
This example demonstrates how to load and parse a CSV file using D3 v7, displaying the resulting dataset’s row count, column count, and file size. The code fetches raw text from a GitHub gist containing CSS named colors, then parses it with `d3.csvParse`. It asynchronously retrieves the data using the Fetch API and updates a `<pre>` element with the summary via `document.getElementById`.
AI-generated descriptionA bare minimum HTML page.