Skip to main content
100%

Loading and parsing CSV data

✓ Published0🌍 Public
11tang
Last edited Mar 27, 2021
Created on Mar 24, 2021
Forked from HTML Starter

This example demonstrates the basic workflow of loading and parsing a CSV file with D3. It fetches a named CSS color dataset from a GitHub Gist and computes three summary statistics: the size of the formatted CSV data in kilobytes, the total number of data rows, and the number of columns. The results are displayed as large text in a browser. The code uses `d3.csv` to retrieve and parse the remote data, while `d3.csvFormat` is used to serialize the dataset back into a string to measure its length.

AI-generated description

A program that loads and parses some CSV data.

MIT Licensed

Similar vizzes