{"version":"1.0","type":"rich","title":"Transforming Data","description":"This example demonstrates how to transform the classic Iris dataset by computing the average sepal length for each species using `d3.flatRollup` and `d3.sum`, then displaying the aggregated results as a JSON summary in a `<pre>` element. The visualization loads CSV data asynchronously via `fetch`, parses it with `d3.csvParse`, and converts numeric fields before processing. Built with D3 v7 and ES6 modules, it showcases lazy state management where data is fetched and transformed only once on initial render.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9a74299b22094617ba16db7f7219e2d3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}