Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
TThomas Wu
Last edited Nov 4, 2021
Created on Nov 4, 2021

This example demonstrates how to fetch and parse CSV data from a remote URL using JavaScript’s built-in `fetch` API with `await`/`async`. It requests the CSS Named Colors dataset from a GitHub gist, then logs the raw text to the browser console. The page also contains commented-out alternatives using `d3.csvParse` to compute and display the data size in kilobytes, row count, and column count inside a `<pre>` element. No visualization is rendered; the focus is purely on data loading and parsing mechanics.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed