{"version":"1.0","type":"rich","title":"loading data with","description":"This example demonstrates a minimal data-loading workflow that fetches a CSV file of CSS named colors using `d3.csv` and manages the fetched data with React’s `useState` and `useEffect` hooks. The interface shows only a text summary of the dataset, reporting its approximate size in kilobytes, row count, and column count. The view renders as monospaced text in an SVG-capable React app, transitioning from a “Loading…” placeholder to the finalized statistics once the asynchronous request resolves. The code relies on the `d3.csvFormat` utility to calculate file size and React’s declarative rendering to update the display.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/81468d71a48747ed977c6c34ec0f80f7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}