Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
Ttnk-dev
Last edited Jun 21, 2021
Created on Jun 21, 2021

This example displays summary statistics from a CSV file containing CSS Named Colors, showing the file size in kilobytes, the number of rows, and the number of columns in a large monospaced text block. The code loads the remote CSV using `d3.csv` and processes the parsed data with `d3.csvFormat` and the `data.length` and `data.columns` properties. Alternate commented approaches demonstrate fetching the raw text with the Fetch API and parsing it via `d3.csvParse`, as well as an older promise-chain pattern.

AI-generated description
MIT Licensed

Similar vizzes