Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
Uubik-valis
Last edited Dec 23, 2021
Created on Dec 22, 2021
Forked from Hello HTML

This example demonstrates how to load and parse CSV data using D3 v5 and the Fetch API. It shows a large preformatted text element displaying the CSV file’s size in kilobytes, row count, and column count, derived from a gist containing named CSS colors. The code uses `d3.csv` to fetch and parse the data, `d3.csvFormat` to measure its length, and `d3.csvParse` for manual parsing, alongside plain `fetch` calls that log the raw text to the console.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes