{"version":"1.0","type":"rich","title":"Transforming Data","description":"This visualization demonstrates data transformation by loading the Iris flower dataset from a CSV file and computing the average sepal length for each species. The code uses D3 v7’s `csvParse` to import raw comma-separated values, then parses numeric fields with unary plus operators. It applies `flatRollup` and `sum` from D3 to group the data by species and calculate the mean aggregate. The resulting summary is rendered as a JSON string inside a `<pre>` element, showing the pipeline from raw data to structured analysis. The example fetches the CSV asynchronously using browser `fetch` and the Promise API.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b2fb60f11f2d4d3bbc2a60b4b8f8595e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}