Skip to main content
100%

Loadin and parsing CSV

✓ Published0🌍 Public
YYuji
Last edited Jul 22, 2021
Created on Jul 18, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data in a web page using D3 v7 and the browser’s Fetch API. It fetches a raw CSV file from GitHub, specifically a list of CSS colors, and then parses it with `d3.csvParse` to convert the text into an array of objects. The code logs the number of parsed rows to the console, showing the basic workflow for handling external tabular data without visual rendering. The example runs entirely in the browser, with no React or other framework involved.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes