Parsing CSV Data with D3
✓ Published0🌍 Public
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.
MIT Licensed