🌍 Public
Viewing a saved revision (read-only)
98688c79ca844abb9de2878a9a962ae8
Fork of Loading and Parsing CSV Data
This example demonstrates how to load and parse CSV data from a remote URL using D3 v5 and the Fetch API. It fetches a dataset of CSS named colors and displays the file size in kilobytes, row count, and column count in a large text element. The primary implementation uses `d3.csv` with a Promise chain, while alternate commented-out approaches show `fetch` with `async`/`await` and `d3.csvParse`. The visualization is intentionally minimal, focusing on data-loading mechanics rather than graphical rendering.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also: