Skip to main content
100%

Parsing CSV Data with D3

✓ Published0🌍 Public
Kkatjur01
Last edited Apr 19, 2023
Created on Apr 19, 2023

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 description

A bare minimum HTML page.

MIT Licensed

Similar vizzes