🌍 Public
Viewing a saved revision (read-only)
3ae88ce3e16c4c5692948d07a652cade
Parsing CSV Data with D3
This example displays a brief summary of a CSV file’s contents—the number of rows, columns, and approximate file size in kilobytes—as large text on a blank page. It loads the CSS-named-colors dataset from a GitHub gist using the `d3.csv` function, which parses the remote file asynchronously. The code then computes the summary values from the parsed data object and the formatted output of `d3.csvFormat`, writing the result into a `<pre>` element.
AI-generated descriptionA bare minimum HTML page.