{"version":"1.0","type":"rich","title":"Loading data with React and D3","description":"This example demonstrates loading a dataset of CSS named colors via `d3.csv`, then displaying its file size, row count, and column count. The app uses React’s `useState` and `useEffect` hooks to asynchronously fetch the CSV and update the UI, rendering the summary as a large `<pre>` element. It combines React’s state management with D3’s `csvFormat` utility to calculate file size directly from the fetched data.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8990c217d4ff4825b6642c28713ab7bc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}