{"version":"1.0","type":"rich","title":"Loading Data with React D3","description":"This example demonstrates how to load and summarize a CSV dataset within a React component using D3. It displays the file size in kilobytes, row count, and column count as plain text. The code uses React hooks (`useState`, `useEffect`) to manage asynchronous data loading and the `csv` function from D3 to fetch the dataset from a remote URL. The `message` helper formats the dataset stats, while the view renders either the summary or a loading message.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/755ccf6357794046ad67318a99f3c1e6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}