Skip to main content
100%

Loading and parsing CSV data

✓ Published0🌍 Public
SSven
Last edited Jul 24, 2021
Created on Jul 23, 2021
Forked from Hello HTML

This example demonstrates loading remote CSV data and displaying parsing statistics. It fetches a CSV file of CSS named colors, then shows the file size in kilobytes, the number of rows, and the number of columns in large text. The code uses `d3.csv` to load and parse the data, `d3.csvFormat` to measure the raw string length, and updates the DOM via `textContent`. The data source is a GitHub gist containing the named colors dataset.

AI-generated description

A program that loads and parses CSV data

MIT Licensed

Similar vizzes