🌍 Public
Viewing a saved revision (read-only)
0cc4e2a79e134db3bb85e6da393d4a16
FCC - Tut parsing Data
This example displays a large-format text report summarizing a CSV dataset of CSS named colors. It shows the file size in kilobytes, the number of rows, and the number of columns as static text. The code loads the data using `d3.csv` and formats it with `d3.csvFormat` to measure its length, also reading `data.length` and `data.columns.length` for the summary. An alternative commented approach uses the `fetch` API with `async`/`await` and `d3.csvParse` to achieve the same result.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also: