🌍 Public
Viewing a saved revision (read-only)
4d1a613cca5e4caaa3a427eaccaa3464
Loading and Parsing CSV Data (orobor0s)
This example demonstrates the result of loading and parsing a CSV file of CSS color names. The visualization displays three key statistics about the parsed dataset: its size in kilobytes, the number of data rows, and the number of columns. The program retrieves the remote CSV using the `fetch` API and then parses it with D3’s `d3.csv` method. The resulting data object is formatted back into text with `d3.csvFormat`, and the summary metrics are computed and rendered directly into an HTML `<pre>` element.
AI-generated descriptionA program that loads and parses some CSV data