Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Fork of HTML Starter

0 stars1🌍 Public
Hhukbk
Last edited May 14, 2021
Created on May 14, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data in a minimal HTML page using D3. It sets up an asynchronous `fetchText` function to retrieve a CSV file from a URL, then applies `d3.csvParse` to convert the raw text into an array of objects. The parsed data is logged to the browser console, where it can be inspected by the viewer. The code relies on the Fetch API and D3 v6, integrated via a script tag from unpkg, with no additional visualization or rendering logic included.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed