{"version":"1.0","type":"rich","title":"Load the data React + D3","description":"This example demonstrates how to load a CSV file asynchronously in a React application and display summary statistics about the dataset. The interface shows a large text block reporting the file size in kilobytes, the number of rows, and the number of columns. The code uses React hooks (`useState`, `useEffect`, `useCallback`) to manage state and fetch the data, while `d3.csv` loads the remote CSV from a GitHub gist. `d3.csvFormat` calculates the data size, and the ReactDOM renderer updates the display once loading completes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/57466b06e2cc43bdb6355790ab1521ba?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}