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)

0332cfe7c165449186a40a9c50b9ec36

Loading and parsing CSV data

0 stars0🌍 Public
Mmk3737
Last edited Mar 25, 2022
Created on Mar 24, 2022
Forked from HTML Starter

This example demonstrates fetching and logging the contents of a CSV file containing CSS color names. It uses the browser’s native `fetch` API to retrieve the remote text file, then chains a promise to parse the response via `response.text()` and prints the raw CSV data to the console. No visualization or parsing library is used; the code shows only the loading step, relying on plain JavaScript async/await syntax. The data source is a GitHub Gist URL.

AI-generated description

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

See also React Starter.