🌍 Public
Viewing a saved revision (read-only)
d8585ea522d54cddbafe7ae0d83e7dc1
Loading data w
This example displays a simple text summary of a loaded CSV dataset, showing the row count, column count, and estimated file size in kilobytes. The view initially presents a “loading” message before the asynchronous data retrieval completes. The implementation uses React with hooks (`useState`) and the `d3.csv` loader from D3 v5 to fetch the data from a remote GitHub Gist, then formats the statistics using `d3.csvFormat` to calculate the size.
AI-generated descriptionReact Starter code.