🌍 Public
Viewing a saved revision (read-only)
71c9932c7dcb46d8a9f6d5c895a0238b
Parsing CSV data with D3
This example demonstrates how D3 version 7 can parse a remote CSV file and display basic statistics about the dataset. It fetches a comma-separated file containing CSS named colors from a GitHub gist using `d3.csv`, then computes and displays the file size in kilobytes, row count, and column count using `d3.csvFormat` and the `columns` property. The results appear in a large `<pre>` element styled at 7em, providing a clear, minimal readout of the parsed data’s structure.
AI-generated descriptionA program that parses csv data with D3.