Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
TTyler Durham
Last edited May 1, 2022
Created on May 1, 2022
Forked from HTML Starter

This example demonstrates how to load and parse a remote CSV file using D3 v7’s `d3.csv` method. It fetches the CSS named colors dataset from a GitHub Gist, then logs a summary of the data to the console and displays it on the page, including the URL, file size in kilobytes, row count, and column count. The code also includes a commented-out alternative using `fetch` and `d3.csvParse`. The visualization is minimal, showing only text output rather than a graphical chart.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes