Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
Ssimontoblad
Last edited Jan 26, 2022
Created on Jan 24, 2022
Forked from HTML Starter

This example demonstrates the initial step of a data visualization pipeline: loading and parsing CSV data. It shows how to asynchronously retrieve a text file from a remote URL using the `fetch` API, then prepare the raw text for subsequent parsing. The code defines a `fetchText` async function that calls `fetch(url)` and `response.text()` to acquire the CSV contents from a GitHub Gist containing named CSS colors. However, the example only fetches the data and does not yet parse or visualize it, leaving the actual CSV parsing and rendering for subsequent steps.

AI-generated description

A program that loads and parses CSV data.

MIT Licensed

Similar vizzes