Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading a parsing CSV Data

Public visualization

Loading a parsing CSV Data

0 stars0🌍 Public
Aandrotop
Last edited Sep 22, 2021
Created on Sep 22, 2021
Forked from HTML Starter

This example demonstrates the initial step of loading and parsing CSV data from a remote source. It fetches a raw CSV file hosted on GitHub Gist using the Fetch API and converts the response to text with the `response.text()` method, then logs the raw contents to the browser console. The code includes an asynchronous `fetchText` helper function, alongside a commented-out alternative using promise chaining. It does not yet visualize the data, focusing solely on retrieving and inspecting the CSV payload to prepare for subsequent parsing and charting.

AI-generated description

A program that loads and parses a CSV datafile

Comments

Sign in to join the discussion.

MIT Licensed