{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how React and D3 can work together to load and summarize a dataset of CSS named colors. The visualization displays a text-based summary showing the file size in kilobytes, row count, and column count once the data finishes loading. The code uses React’s `useState` and `useEffect` hooks to manage the loading state, while D3’s `csv` function fetches the remote CSV file. The `message` function formats the output using `d3.csvFormat` to calculate the data size.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8cc3793cd11947d39bd879bd21e23775?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}