Skip to main content
100%

Fetch CSV DATA

✓ Published0🌍 Public
Mmartfhill
Last edited Jan 7, 2022
Created on Jan 6, 2022
Forked from HTML Starter

This example demonstrates loading a remote CSV file with D3 and displaying basic dataset metrics—file size in kilobytes, row count, and column count—in large, styled text. The visualization relies on `d3.csv` from d3-fetch to parse the data, then uses `d3.csvFormat` to measure the formatted output length and accesses `data.length` and `data.columns` for row and column tallies. The result updates a `<pre>` element via React’s production build, though the core data fetching and parsing use D3 v4 and v7 APIs alongside native `fetch` in commented alternatives.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes