{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example shows how to load CSV data with D3 in a React application, displaying the dataset’s size, row count, and column count as text. The code uses the `csv` utility from D3 v6 to fetch a GitHub-hosted dataset of named CSS colors, while React’s `useEffect` and `useState` hooks manage the asynchronous loading state. A custom `message` function formats the statistics, and the UI switches from a “Loading...” placeholder to the summary once data arrives.  \nThe visualization demonstrates a minimal integration of D3’s data-loading and formatting APIs within React’s component lifecycle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ad887cee66d54b64a904ca4eeb6d3ef0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}