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)

7480cfc8dbc44398acf9069936a4cb1d

Loading and Parsing CSV Data

0 stars0🌍 Public
Jjmarcrum3
Last edited Jun 7, 2023
Created on Jun 7, 2023
Forked from HTML Starter

This example demonstrates how to load raw CSV data in a browser using the standard Fetch API, bypassing any data-parsing library. It defines an asynchronous `fetchText` function that retrieves the file content and returns it as a plain text string. The code then fetches a named CSS colors dataset hosted on GitHub Gist and logs the resulting raw text to the browser console. The visualization is minimal, focusing solely on the network request and text output without any charting or rendering framework.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.