{"version":"1.0","type":"rich","title":"Transforming data","description":"This example demonstrates data transformation by loading the classic Iris dataset from a CSV file and computing the average sepal length for each species. It uses D3 v7 modules such as `csvParse`, `flatRollup`, and `sum` to parse the data, aggregate it by species, and display the resulting summary as JSON in a `<pre>` element. The visualization also shows asynchronous state management with `setState` and a loading indicator.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b0ca57ebd4724337a2fc23beab550a96?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}