Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
Ddev-ignacio-h
Last edited Mar 4, 2021
Created on Mar 3, 2021
Forked from Hello HTML

This example demonstrates how to load and parse CSV data using D3 v6, displaying the file size, row count, and column count of a dataset containing CSS named colors. The program fetches the CSV from a GitHub gist via `d3.csv`, then reports the parsed data’s dimensions using `d3.csvFormat` and the resulting array’s properties. A large monospaced `<pre>` element renders the summary, while the code also includes commented alternatives using `fetch` and `d3.csvParse` for manual text handling.

AI-generated description

A program that loads and parses some CSV data

MIT Licensed

Similar vizzes