Skip to main content
100%

loading and parsing csv data - ep 13

✓ Published1🌍 Public
Ssurikmeetr
Last edited Mar 3, 2021
Created on Mar 3, 2021
Forked from HTML Starter

This example demonstrates the initial step of loading and parsing CSV data in a web page, using the browser’s built-in `fetch` API to retrieve a remote file from a GitHub gist containing CSS color names. The code logs the raw text response to the console, illustrating a nested promise chain—often called a “pyramid of doom”—where `response.text()` is called inside the first `.then()` callback. No parsing or visualization occurs yet; the focus is on the asynchronous data-fetching pattern. Styled with inline CSS, the page itself is minimal, with a large empty body.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes