Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and parsing csv with d3

Public visualization

Loading and parsing csv with d3

0 stars0🌍 Public
Nnjerijadline@gmail.com
Last edited Jan 27, 2025
Created on Jan 27, 2025
Forked from Hello HTML

This example demonstrates the size, row count, and column count of a CSV file fetched from a remote URL, displaying the metrics in a large HTML `<pre>` element. It uses the D3 v5 `d3.csv` API to load and parse the data, then `d3.csvFormat` to measure the formatted string size in kilobytes. The data source is a GitHub gist containing CSS named colors, and the asynchronous flow relies on a modern JavaScript `fetch` pattern.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed