Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

07-loading and parsing data

Public visualization

Viewing a saved revision (read-only)

74309bd58c1b446bb8d18bfaa25c8e41

07-loading and parsing data

0 stars1🌍 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.