Skip to main content
100%

Loading and parsing CSV data

✓ Published0🌍 Public
PPABOML
Last edited Jan 11, 2022
Created on Jan 11, 2022
Forked from HTML Starter

This example demonstrates how to load and parse CSV data from a remote URL using the Fetch API. The code fetches a text file containing CSS named colors from a GitHub gist, then logs the raw string to the console. It illustrates the first step in a data pipeline, using the asynchronous `fetch` and `response.text()` methods to retrieve the dataset, with a commented-out alternative approach showing the same process with nested then callbacks.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes