Skip to main content
100%

Parsing CSV data with D3

✓ Published0🌍 Public
Nnpelliccia
Last edited Jul 28, 2021
Created on Jul 28, 2021

This example demonstrates the basic mechanics of loading and parsing a CSV dataset with D3. It fetches a remote file of named CSS colors and displays summary statistics about the parsed data in large text. The code uses `d3.csv` to retrieve and parse the data asynchronously, then calls `d3.csvFormat` to measure the raw size in kilobytes. It reports the total number of data rows and the count of columns from the parsed array, showing how D3 structures tabular data as an array of objects.

AI-generated description

A program that loads and parses csv data

MIT Licensed

Similar vizzes