🌍 Public
Viewing a saved revision (read-only)
e1a9c4a1b00d49b2ba3fc6af6f9ce12b
Fork of HTML Starter-2
This example demonstrates fetching a CSV file and logging its contents to the browser console. It uses the JavaScript `fetch` API within an async function to retrieve a color dataset from a GitHub Gist URL, then converts the response to text with `response.text()`. The code shows both a modern async/await approach and a commented-out promise-chain alternative. No data visualization is rendered; the focus is on establishing a data-loading pattern for a future visual.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.