Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
Llizuojc
Last edited Sep 13, 2023
Created on Sep 13, 2023

This example displays the size and structure of a CSS Named Colors CSV dataset, showing the file size in kilobytes, row count, and column count as large text. It uses D3 v5’s `d3.csv` method to load and parse the remote CSV file, then accesses the parsed data’s `length` and `columns` properties. The code also includes commented alternatives using `fetch`, `async`/`await`, and `d3.csvParse`, illustrating different approaches to loading tabular data.

AI-generated description
MIT Licensed

Similar vizzes