Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
Xxilingus
Last edited Oct 11, 2021
Created on Oct 8, 2021
Forked from HTML Starter

This example demonstrates how to load and parse a CSV file from a remote URL using D3 v7. It displays the file size in kilobytes, the number of rows, and the number of columns derived from the parsed data. The code uses `d3.csv()` to fetch and parse the CSV, then `d3.csvFormat()` and `data.columns` to extract metrics. The resulting summary is rendered as text in a `<pre>` element. The data comes from a gist containing CSS color names.

AI-generated description

Peidei fml

MIT Licensed

Similar vizzes