{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load external data in a React application using D3 utilities, displaying a summary of the dataset’s size, row count, and column count. The code uses the `useState` and `useEffect` hooks to manage data asynchronously, calling `d3.csv` to fetch a CSV file from a GitHub gist. Once loaded, the data is rendered as plain text in a `<pre>` element, with a “Loading…” placeholder shown until the fetch completes. The visualization highlights the integration of React’s state management with D3’s data-loading APIs.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6de1f8b8bbc642058b6e67f53669106d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}