Skip to main content
100%

Loading and parsing csv with d3

✓ Published0🌍 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.

MIT Licensed

Similar vizzes