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 stars1🌍 Public
Ddmr
Last edited Nov 13, 2021
Created on Nov 13, 2021

This example demonstrates how to load and parse a remote CSV file using the Fetch API. It fetches a CSV of CSS named colors from a GitHub Gist URL and logs the raw text to the browser console. The code defines an asynchronous `fetchText` function that retrieves the file and returns its contents as a string, then invokes this function with the CSV URL. No parsing or visualization occurs; the example focuses solely on the initial data-loading step.

AI-generated description

a program that loads and parses some csv data

Comments

Sign in to join the discussion.

MIT Licensed