Skip to main content
100%

Making Fetch Happen

✓ Published0🌍 Public
KKristopher Skelton
Last edited Feb 10, 2021
Created on Feb 9, 2021
Forked from HTML Starter

This example displays a short text summary of a CSS named colors dataset, showing the file size in kilobytes, row count, and column count. It uses D3’s `d3.csv` to fetch and parse the CSV from a GitHub gist, then builds the message with `d3.csvFormat` and updates the DOM via `textContent`. A commented alternative demonstrates fetching raw text with `fetch` and parsing it using `d3.csvParse`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes