Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 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.

MIT Licensed

Similar vizzes