{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how React and D3 integrate for data loading, displaying file metadata for a CSS named-color CSV dataset fetched from a GitHub gist. It uses React hooks (`useState`, `useEffect`) to manage asynchronous state, and D3’s `csv` method to parse the remote data. The interface renders a text summary—file size in kilobytes, row count, and column count—calculated via `d3.csvFormat` and `data.columns`. During the fetch, a “Loading …” message appears, reflecting the component’s conditional rendering. The visualization highlights a simple yet effective pattern for combining React’s declarative UI with D3’s data utilities.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/792e8ddcc21b42c89a48c57b8a078078?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}