🌍 Public
Viewing a saved revision (read-only)
2c09cc9b43f94e49b25c77755b99c6f6
Loading and Parsing CSV Data
This example demonstrates how to load and parse CSV data from a remote URL. It displays the file size in kilobytes, the row count, and the column count of the dataset using D3 v5’s `d3.csv` method. The visualization also includes commented-out alternatives using `fetch` with `async`/`await` and `d3.csvParse`. The data comes from a GitHub Gist containing CSS named colors, and results appear as text in a large `<pre>` element.
AI-generated description