🌍 Public
Viewing a saved revision (read-only)
3e233059fffb40398227a6dcb7db16b1
Fork of Loading and Parsing CSV Data
This example demonstrates how to fetch and parse CSV data from a remote URL. It retrieves a list of CSS named colors, converts it into a structured format using the D3 `csvParse` function, and logs the total row count to the console, with the result displayed in a large <pre> element. The program uses the `fetch` API with `async`/`await` to load the text and relies on D3 v5 for CSV parsing.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also: