🌍 Public
Viewing a saved revision (read-only)
f6aa2859340e44af908fe4c68d0e6ad1
Parsing CSV Data with D3
This example parses a CSV file of CSS named colors using D3 and displays the file’s size, row count, and column count as large text. It fetches the remote CSV via `d3.csv`, which returns a parsed data object, then uses `d3.csvFormat` to measure the data’s length and the `columns` property to count columns. The visualization renders the resulting statistics in an HTML `<pre>` element, demonstrating D3’s CSV parsing capabilities without any graphical chart.
AI-generated descriptionA program that follows your mouse with a circle