Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
BBenoit Mouly
Last edited Jul 28, 2022
Created on Jul 27, 2022
Forked from HTML Starter

This example demonstrates the basic workflow of loading and parsing CSV data with D3.js. It fetches a remote CSV file containing named CSS colors and displays the file size in kilobytes, the number of rows, and the number of columns as text on the page. The code uses `d3.csv` to load the data and `d3.csvFormat` to measure its size, while `data.length` and `data.columns.length` report the dataset structure. The concise output highlights the parsed data’s dimensions without visualizing the actual color values.

AI-generated description

A program that loads and parses some CSV data

MIT Licensed

Similar vizzes