{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load a CSV dataset of CSS named colors using D3’s `csv` utility within a React component. The application uses React’s `useState` and `useEffect` hooks to manage asynchronous data fetching and update the UI once the data arrives. The view displays a plain-text summary of the loaded data, including its size in kilobytes, row count, and column count, rendered inside a `<pre>` element. The code relies on `d3.csv`, React’s state management, and `ReactDOM.render` to bind the component to the DOM.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/60f61ef72e1b462dbb06a4db0871e431?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}