🌍 Public
Viewing a saved revision (read-only)
afdb474922e64c2ab3412b51efe57f3c
ReadingCSV
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.