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)

cb18137fb3f34625a1c1bbc0f5512c81

Loading and Parsing CSV Data

0 stars0🌍 Public
Mmikaylag
Last edited Jul 20, 2021
Created on Jul 19, 2021
Forked from HTML Starter

This example demonstrates how to fetch and display raw CSV data in the browser console. It retrieves a named CSS colors dataset from a GitHub gist using the Fetch API, then uses the `response.text()` method to parse the CSV content as plain text. The parsed output is logged directly to the console via `console.log(text)`, showing the data without any visual chart or table. The code relies on native JavaScript features like `fetchText` and async/await syntax rather than external libraries.

AI-generated description

A program that loads and parses some CSV data.