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)

24a1c64560084f75b579c921f2c19897

Loading and Parsing CSV data

0 stars1🌍 Public
DDaljeetSingh1320
Last edited Jul 31, 2023
Created on Jul 31, 2023
Forked from HTML Starter

This example demonstrates how to fetch and parse CSV data in a web page using the Fetch API. The code defines an asynchronous function, `fetchText`, that retrieves a remote CSV file from a GitHub Gist containing CSS named colors, then logs the raw text to the browser console. The visualization shows the raw CSV output without any transformation or rendering, using vanilla JavaScript and the native `fetch` and `response.text()` methods.

AI-generated description

A program that loads and parses some CSV data.