{"version":"1.0","type":"rich","title":"Loading data with react and d3","description":"This example demonstrates how React and D3 work together to load and summarize a CSV dataset of CSS named colors. The visualization displays a text summary showing the file size, number of columns, and row count once the data has been fetched. It uses React’s `useState` and `useEffect` hooks to manage asynchronous data loading, while `d3.csv` retrieves and parses the remote data. The `d3.csvFormat` API calculates the formatted data size, and ReactDOM renders the final message.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/37e6a95de58242f0bfcbf17896a5b054?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}