Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published1🌍 Public
LLaura Brown
Last edited Jan 21, 2025
Created on Jan 17, 2025

This example displays the result of loading and parsing a CSV file containing CSS named colors. It reports the file size in kilobytes, the number of data rows, and the number of columns in a large text output. The code uses the `fetch` API to retrieve the remote CSV text and the `d3.csvParse` function from D3 v5 to parse it into a tabular data structure. The parsed data’s properties are then summarized and rendered within an HTML `<pre>` element.

AI-generated description
MIT Licensed

Similar vizzes