{"version":"1.0","type":"rich","title":"Transforming Data","description":"This example demonstrates how to transform and summarize the Iris dataset using D3’s `flatRollup` and `sum` APIs. It first loads a CSV file asynchronously, parses it with `csvParse`, and converts numeric fields from strings to numbers. The visualization then computes the average sepal length per species and displays the resulting summary as formatted JSON in a `<pre>` element. The code also illustrates local ES6 module imports and state management through a simple `setState` pattern.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/972314f1b22c42e387b9b076b07bf308?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}