Skip to main content
100%

ReadingCSV

✓ Published0🌍 Public
MManon ROMAIN
Last edited Oct 11, 2021
Created on Oct 11, 2021
Forked from MouseEvent

This example shows the size of a CSV dataset by displaying three statistics: the number of rows, the number of columns, and the file size in megabytes. It loads the data from a GitHub-hosted CSV file using `d3.csv`, then computes the file size by formatting the data back to CSV with `d3.csvFormat` and measuring its string length. The results are rendered as plain text inside a React component using `document.getElementById` to update the DOM.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes