🌍 Public
Viewing a saved revision (read-only)
4e275288390f4b32bd191732a1007118
Loading Data
This example demonstrates the initial step of loading and parsing CSV data from an external URL, logging the number of parsed rows to the browser console. It uses a custom `fetchText` async function to retrieve the raw text, then calls `d3.csvParse` from D3 v7 to convert the comma-separated content into an array of objects. The data source is a GitHub-hosted CSS named colors dataset, and no visual output is rendered—only the parsed record count appears in the console.
AI-generated descriptionA program that loads and parses some CSV data.