Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

35a540ef4b7b4028849b1d396dfe5348

Loading and Parsing CSV Data

0 stars1🌍 Public
AAndy Chang
Last edited Sep 27, 2022
Created on Sep 27, 2022
Forked from HTML Starter

This example demonstrates the asynchronous loading and parsing of CSV data from a remote URL. It fetches a dataset of CSS named colors hosted as a GitHub gist, converts the response to text, and logs the raw CSV string to the browser console. The code uses the Fetch API with `fetch()` and `response.text()`, wrapped in an async function and promise chain. The HTML page contains no visible visualization, focusing solely on the data acquisition workflow.

AI-generated description

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

See also React Starter.