{"version":"1.0","type":"rich","title":"Loading data with React and D3","description":"This example demonstrates how to load and summarize CSV data within a React application using D3. The interface displays the number of rows, columns, and file size in kilobytes once the data has been fetched. It uses React’s `useState` and `useEffect` hooks to manage asynchronous loading, while the `d3.csv` function retrieves the dataset from a GitHub gist. The code also calls `d3.csvFormat` to calculate the raw data size, with a simple loading message shown before the fetch completes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4d42174b5d384db39df42f72f3b4c4af?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}