Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing SCV data

Public visualization

Loading and Parsing SCV data

0 stars0🌍 Public
Ssam
Last edited Oct 28, 2022
Created on Oct 28, 2022
Forked from HTML Starter

This example demonstrates how to load and parse CSV data from a remote source, displaying the dataset’s size, row count, and column count in a large text block. It fetches the raw text with the browser’s `fetch` API, parses it into an array of objects using `d3.csvParse`, and computes the kilobyte size from `d3.csvFormat` output. The page uses D3 v7 and explicitly avoids the older callback pyramid, instead relying on `async`/`await` via a helper function. The CSV source is a gist containing CSS named color data.

AI-generated description

this uodates and parses csv data

Comments

Sign in to join the discussion.

MIT Licensed