Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

ad68a1604f6e4dfbac9d844b39a340d7

Fork of Loading and Parsing CSV Data

0 stars0🌍 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