Skip to main content
100%

Loading and parsing data from csv files

✓ Published0🌍 Public
WWhitney Hung
Last edited Jun 15, 2020
Created on Jun 15, 2020
Forked from HTML Starter

This example demonstrates how to load and parse a CSV file in the browser using the Fetch API. It fetches a raw CSV file containing CSS named colors from a GitHub gist and logs the text content to the console. The code defines an asynchronous helper function, `fetchtext`, that uses `fetch` and `response.text()` to retrieve the data, and it also includes an alternative promise-based fetch call. No visualization is rendered; the focus is purely on the data-loading workflow.

AI-generated description

A program that loads and parses csv files.

From the episode 13 of datavis course. Youtube video

MIT Licensed

Similar vizzes