🌍 Public
Viewing a saved revision (read-only)
3415d1bfbc894c01b797fecf602c4c04
Loading and parsing CSV data
This example demonstrates loading and parsing a CSV file of CSS named colors using D3 v7. The program fetches the remote dataset via `d3.csv` and then displays summary statistics—formatted size in kilobytes, row count, and column count—inside a `<pre>` element. It relies on `d3.csvFormat` to compute the data’s string length and `data.columns` to report the number of headers. The visualization is purely textual, showing how asynchronous data loading and parsing work without any graphical chart.
AI-generated descriptionA program that loads and parses some CSV data.