Skip to main content
100%

CSV parse

✓ Published1🌍 Public
MMTR
Last edited Mar 2, 2021
Created on Mar 2, 2021
Forked from HTML Starter

This example displays the size and shape of a CSV dataset loaded from a remote GitHub gist. A large, centered text block reports the formatted file size in kilobytes, the total number of rows, and the number of columns. It uses `d3.csv` to fetch and parse the data, then `d3.csvFormat` to measure its serialized length. The results are inserted into the page via `innerHTML`, with a commented alternative using `fetch` and `d3.csvParse` also present.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes