{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates loading data with React and D3 by fetching a CSV of CSS named colors and displaying summary statistics as text. The React component uses the `useState`, `useEffect`, and `useCallback` hooks, while D3’s `csv` function retrieves the dataset from a GitHub gist URL. Once loaded, the data’s size in kilobytes, number of rows, and column count are computed using `d3.csvFormat` and rendered directly in a `<pre>` element. A loading message appears until the asynchronous fetch completes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9c2363ffca56419d8736d6348f72a6f5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}