{"version":"1.0","type":"rich","title":"Fork of Loading Data with React & D3","description":"This example demonstrates a minimal data-loading workflow using React and D3. It fetches a CSV file of CSS named colors via the `csv` function from D3, stores the parsed data in React state with `useState`, and triggers the fetch inside a `useEffect` hook. While the data loads, the interface displays a \"Loading...\" message; once ready, it renders a summary of the dataset—its size in kilobytes, row count, and column count—formatted as a large text block. The code uses React DOM for rendering and D3’s `csvFormat` to calculate the file size.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7ca8ede0c80246ad81b814b6ebfdd34c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}