Skip to main content
Public

Share visualization

Loading preview…

Loading and parsing CSV data

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Loading and parsing CSV data

0
RRonandLion
Last edited Aug 24, 2020
Created on Aug 24, 2020
Forked from Hello HTML

This example demonstrates the simplest possible workflow for fetching an external CSV file from a GitHub gist URL using JavaScript's built-in `fetch` API. The page shows no visualization, instead logging the raw `Response` object to the console, which would contain the CSV text if parsed. The code relies on the modern `fetch` function and a hardcoded URL pointing to a CSS color dataset hosted on GitHub, but it does not parse or render the data, making it a minimal first step toward loading external tabular data.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed