Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV

Public visualization

Loading and Parsing CSV

0 stars0🌍 Public
Aalexindata
Last edited May 22, 2022
Created on May 22, 2022
Forked from HTML Starter

This example demonstrates reading a raw CSV file from a GitHub Gist and logging its contents to the browser console. The page uses the Fetch API within an asynchronous `fetchText` function to retrieve the text from the specified URL, then displays the raw CSV data via `console.log`. The code highlights a basic loading pattern, contrasting it with a commented-out "pyramid of doom" approach that chains `.then()` callbacks. No CSV parsing or visualization occurs; the example focuses solely on data retrieval and output.

AI-generated description

Loading and Parsing CSV data from Gist.

Comments

Sign in to join the discussion.

MIT Licensed