Skip to main content
100%

07-loading and parsing data

✓ Published1🌍 Public
Mmygynt679
Last edited Apr 8, 2023
Created on Apr 8, 2023
Forked from Hello VizHub

This example demonstrates the initial step of fetching a CSV file from a remote URL and logging its raw text to the console. It uses the `fetch` API, wrapped in an asynchronous `fetchText` function, to retrieve data from a GitHub Gist containing CSS named colors. The JavaScript code chains a `.then()` callback to output the text, preparing for future parsing. It relies on standard browser APIs without any external libraries.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes