Skip to main content
100%

Upload data

✓ Published3🌍 Public
SStefan Apostol
Last edited Dec 18, 2022
Created on Dec 18, 2022
Forked from HTML Starter

This example demonstrates fetching a remote CSV file containing CSS color data from a GitHub gist URL, using the browser's built-in `fetch` API to retrieve the text content asynchronously. The script defines a `fetchText` function that calls `response.text()` and logs the raw CSV data to the console, providing a bare-bones starting point for loading external tabular data into a web page. Only the retrieval and logging of the data is implemented—there is no visual rendering or chart drawing, making it a minimal skeleton for a future data visualization project. The code relies purely on standard JavaScript, with no external libraries or frameworks included.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes