Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fetch and csv

Public visualization

Fetch and csv

0 stars0๐ŸŒ Public
VValentin Kebat
Last edited Sep 8, 2021
Created on Sep 8, 2021
Forked from HTML Starter

This example demonstrates fetching a CSV file over the network and parsing it with D3. The page uses the Fetch API to request a gist containing CSS named colors, then parses the raw text using `d3.csvParse`. It logs the number of rows, columns, file size in kilobytes, and the full parsed data array to the browser console. The HTML includes minimal styling with a large font size, and the script relies on the D3 v7 library loaded from a CDN.

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