🌍 Public
Viewing a saved revision (read-only)
b44ba9ac7a264908a7340e8c2ad7a932
Loading and Parsing CSV Data
This example demonstrates loading and parsing a CSV file containing CSS named colors, displaying the file size, row count, and column count as large text. It uses the Fetch API to retrieve the CSV from a GitHub gist, then applies `d3.csvParse` to convert the raw text into tabular data. The code relies on asynchronous `async/await` syntax and renders the summary information into an HTML `<pre>` element via `document.getElementById`.
AI-generated descriptionA bare minimum HTML page.