{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates how to combine React hooks with D3 for asynchronous data loading. The React component displays a summary of the loaded dataset using a `<pre>` element. The code uses the `useEffect` hook along with D3’s `csv` function to fetch a CSV file containing CSS named colors from a GitHub gist. Once the data arrives, the component renders its size in kilobytes, row count, and column count using the `message` function. The visualization highlights the integration of React state management with D3’s data loading utilities.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d558cf30d1b74c8f928f8c492f8a2601?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}