Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CSV Data

Public visualization

CSV Data

0 stars0🌍 Public
SSpuddy2884
Last edited Feb 25, 2021
Created on Feb 25, 2021
Forked from Hello HTML

This example demonstrates loading and logging a CSV file containing CSS named colors from a remote GitHub gist. It shows the raw text output of the CSV in the browser console using the Fetch API. The code defines an asynchronous `fetchText` function that retrieves the file and returns its contents as plain text, then chains a `.then` callback to log that text. A commented-out alternative uses the Fetch API’s promise chain with `response.text()` to achieve the same result.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed