{"version":"1.0","type":"rich","title":"Load Data React + D3","description":"This example shows how to integrate D3 data loading with React state management. It displays a text summary of a CSV file containing CSS named colors, loaded from a GitHub gist, reporting the file size, row count, and column count. The code uses React’s `useState` and `useEffect` hooks to fetch the data asynchronously via D3’s `csv` function, storing the result in component state. The message is formatted and printed inside a `<pre>` element, with a “Loading…” fallback while the request is pending.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8962ded3ffcd459487ddfea71aac417a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}