{"version":"1.0","type":"rich","title":"Loading data with React and D3","description":"This example demonstrates the loading of a CSV dataset within a React application, displaying a summary message that reports the file size in kilobytes, row count, and column count. The interface initially shows a loading state and updates once the data is fetched. The code combines React’s `useState` and `useEffect` hooks with the `d3.csv` function from D3 v7, and uses `d3.csvFormat` within the message utility to compute data size. The visualization renders as an SVG container, though the output is text-based.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d72f30669229493e9101119cf4f25ae8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}