Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
GGregS1290
Last edited Oct 25, 2021
Created on Oct 25, 2021

This example demonstrates how to load and parse CSV data from a remote URL. It displays a message showing the data’s size in kilobytes, the number of rows, and the number of columns from the CSS Named Colors dataset. The code uses D3 v7’s `d3.csv` and `d3.csvFormat` to fetch and measure the data, then updates a `<pre>` element with the summary. A commented alternative shows the equivalent approach using the Fetch API and `d3.csvParse`.

AI-generated description
MIT Licensed

Similar vizzes