{"version":"1.0","type":"rich","title":"Loading data with React and d3","description":"This example demonstrates how React and d3 can work together to load and display a CSV dataset, showing the file size, row count, and column count as plain text. The React component uses the `useState` and `useEffect` hooks to manage loading state and fetch data once on mount via `d3.csv`, while `d3.csvFormat` calculates the data size. The message updates from \"Loading...\" to the summary once the data from the GitHub-hosted CSV file arrives. It uses React 16 and d3 v7, with ReactDOM rendering the result into the page.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2c03560a584e4d96b470cf3215d74bee?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}