{"version":"1.0","type":"rich","title":"Loading Data in React with D3","description":"This example demonstrates how to load and inspect a CSV dataset within a React application using D3. It fetches GHG emissions data from a GitHub gist and displays a summary of the file’s size, row count, and column count as a large text message. The code uses React’s `useState` and `useEffect` hooks to manage the asynchronous data loading, with `d3.csv` handling the file parsing. The rendered output updates from a loading state to the computed statistics once the data arrives, showcasing a simple integration of D3 with React’s component lifecycle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/25048d9232534fc4bd7b1a5da524639b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}