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
Wwindwaver
Last edited Mar 18, 2021
Created on Mar 18, 2021

This example demonstrates how to load and parse CSV data in the browser using the Fetch API. It fetches a remote CSV file containing CSS named colors from a GitHub Gist and logs the raw text response to the console. The code defines an asynchronous `fetchText` function that retrieves the file and returns its contents as a string, then calls it on the CSV URL. No parsing or visualization occurs; the example simply shows the initial step of retrieving CSV data for later processing.

AI-generated description

A program that loads and parses some CSV data.

Comments

Sign in to join the discussion.

MIT Licensed