{"version":"1.0","type":"rich","title":"Load d3 data and use react","description":"This example demonstrates how to load external CSV data and manage it within a React component. It fetches a dataset of CSS named colors using d3.csv and displays summary statistics—file size, row count, and column count—in a large text element. The React useState and useEffect hooks handle the asynchronous data loading, while the message function from a separate module uses d3.csvFormat to calculate the character length. The visualization updates from a loading state to the formatted data summary once the promise resolves.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b13c2913698042f4bb12b6d8b6c2dac8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}