{"version":"1.0","type":"rich","title":"Load data into React","description":"This example demonstrates how to load a dataset of CSS named colors into a React application using D3’s `csv` method, with React state managing the fetched data. The app displays basic metadata about the dataset, including its size in kilobytes, row count, and column count. It uses React hooks (`useState` and `useEffect`) to handle asynchronous data loading and rendering, with D3 v5 and React 16.9 loaded via UMD scripts. The visualization outputs plain text statistics in a `<pre>` element, switching from a “loading” message to the formatted summary once data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a49c83c91c0b46d69b3f8b2dfa823ca6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}