🌍 Public
Viewing a saved revision (read-only)
8e41827868b94be5ab1edb0e3e0a477a
Making Fetch Happen
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.