{"version":"1.0","type":"rich","title":"Loading data with D3","description":"This example demonstrates asynchronous data loading in a React application using D3. It fetches a CSV file containing CSS named colors, then displays a summary message showing file size, row count, and column count once the data arrives. The implementation uses React hooks (`useState` and `useEffect`) to manage state and trigger the `d3.csv()` request, while a helper function calculates and formats the data metrics. The visualization renders as pure SVG text, with a loading state displayed before the data is fetched.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2c042619a07b41848031deef9efacbe0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}