{"version":"1.0","type":"rich","title":"Loading data with react and d3","description":"This example demonstrates how to load and display a summary of a CSV dataset using React and D3. It fetches the CSS named colors dataset from a GitHub gist via D3’s `csv` utility, stores the result in React state with `useState` and `useEffect`, and renders a formatted message showing the file size in kilobytes, row count, and column count. The visualization shows the loading process in a plain text `<pre>` element, relying on React’s rendering and lifecycle management.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1ca3c33be4ff4abcbee66e56c7f18bc6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}