Skip to main content
100%

Loading data w

✓ Published1🌍 Public
NNita
Last edited Jul 18, 2020
Created on Jul 18, 2020
Forked from React Starter

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 description

React Starter code.

MIT Licensed

Similar vizzes