{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to integrate D3’s data-loading utilities with React state management. The application fetches a CSV file of CSS named colors from a GitHub gist using `d3.csv`, stores the parsed dataset in React’s `useState` hook, and displays a summary message generated by a helper function. While loading, it shows “Loading…” text, then presents the file size in kilobytes, row count, and column count via `d3.csvFormat` and the array’s `length` and `columns` properties. The code uses React hooks (`useEffect`, `useState`) and D3 v7.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3afd4d351805434488bdd08fe318dbbf?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}