Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
Hhashemalkak
Last edited Oct 12, 2020
Created on Oct 12, 2020
Forked from HTML Starter

This example demonstrates loading a remote CSV file from a GitHub Gist and parsing its contents using the Fetch API. It fetches the text of the `cssNamedColors.csv` file, logs the raw CSV string to the browser console, and displays a blank HTML page. The code uses `fetchText`, a custom asynchronous helper function that calls `fetch` and `response.text()`. No chart or visual rendering occurs; the focus is solely on the data-loading and parsing workflow.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes