{"version":"1.0","type":"rich","title":"Loading Data with React","description":"This example demonstrates the integration of React with D3 for asynchronous data loading, showing a text display that reports the size and structure of a CSS color dataset fetched from a GitHub gist. The React component uses the `useState` and `useEffect` hooks to manage state and trigger the `d3.csv` request, while the `message` utility computes row and column counts plus file size in kilobytes. The visualization updates from a \"loading\" message to the final statistics once the CSV data arrives, highlighting how React handles D3 data pipelines. The example uses React 18 and D3 v7.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/86d51530ebd4476e9ff45d5b5175df57?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}