Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Datavis w/ Curran - Loading and Parsing CSV Data

Public visualization

Fork of Datavis w/ Curran - Loading and Parsing CSV Data

0 stars0🌍 Public
LLevi Fletcher
Last edited May 12, 2022
Created on May 11, 2022

This example demonstrates loading and parsing CSV data from a remote URL, with the fetched content logged to the browser console using JavaScript's `fetch` API and `console.log`. The code fetches a raw CSV file containing CSS named colors from a GitHub Gist, then converts the response to text via `response.text()`. The implementation uses the asynchronous `fetchText` helper function with `async`/`await` syntax, with commented-out alternative code showing a chained `.then()` approach. The visualization itself does not render any graphics—it only loads and displays the raw CSV data in the developer console.

AI-generated description

A program that loads and parses some csv data.

Comments

Sign in to join the discussion.

MIT Licensed