Making Fetch Happen
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed