Skip to main content
100%

Loading and Parsing CSV Data

✓ Published1🌍 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.

MIT Licensed

Similar vizzes