🌍 Public
Viewing a saved revision (read-only)
09a793353dd8427694c81222743ab9a6
Fork of Loading and Parsing CSV Data
This example demonstrates how to load and parse CSV data using D3. It displays a summary of the CSS Named Colors dataset, including its size in kilobytes, number of rows, and number of columns, in a large monospace text element. The code uses d3.csv to fetch and parse the data, and d3.csvFormat to calculate the byte size. An alternative commented-out approach shows the same task using fetch, async/await, and d3.csvParse. The visualization is minimal, focusing entirely on the data-loading process.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also: