🌍 Public
Viewing a saved revision (read-only)
efddeb8da3cb490a9f235b472cd54f7e
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.