Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

28c5f18f76644f9ab75d3c564f7886f1

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
FFrictionlessman
Last edited Mar 16, 2022
Created on Mar 16, 2022

This example demonstrates how to fetch and parse a CSV file from a remote URL using native browser APIs, logging the raw text to the console. It shows the initial step of loading external data without any visualization or rendering. The code uses the Fetch API’s `fetch()` function and its `response.text()` method, wrapped in an async helper function called `fetchText`. The data source is a GitHub Gist containing CSS named colors, and the example runs entirely in vanilla JavaScript within an HTML page.

AI-generated description

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

See also React Starter.