Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Loading and Parsing CSV Data

0 stars0🌍 Public
Nnqu9DL
Last edited Mar 2, 2021
Created on Mar 2, 2021
Forked from Hello HTML

This example shows how to load and parse CSV data from a remote URL, then displays a concise summary of the file’s size, row count, and column count in large text. It uses the browser’s `fetch` API within an `async` function to retrieve the raw text, followed by `d3.csvParse` (from D3 v5) to convert that text into structured data objects. The data source is a GitHub Gist containing named colors, and the results are rendered into a `<pre>` element.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed