Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and parsing CSV data

Public visualization

Loading and parsing CSV data

0 stars0🌍 Public
Sstefanpullen
Last edited Dec 14, 2021
Created on Dec 13, 2021
Forked from Hello HTML

This example demonstrates how to load and parse CSV data from an external URL using the Fetch API. It fetches a text file containing CSS named colors from a GitHub gist and logs the raw text to the browser console. The code uses `fetchText`, an async function that retrieves the response and converts it to text, following a commented-out alternative using chained promises. The visualization does not render any graphics; it focuses solely on the initial step of acquiring and inspecting CSV data for subsequent processing.

AI-generated description

Load and read dataHTML page.

Comments

Sign in to join the discussion.

MIT Licensed