{"version":"1.0","type":"rich","title":"Transforming Data","description":"This example loads the classic Iris dataset from a CSV file and uses `d3.csvParse` to convert it into an array of JavaScript objects, coercing the four measurement columns to numbers. It then applies `d3.flatRollup` with `d3.sum` to compute the average sepal length for each species, producing a compact summary table. The result is rendered as formatted JSON inside a `<pre>` element using a data join, with the visualization re-rendering via a simple state-management loop. The code imports utilities like `extent`, `group`, and `bin` but only `flatRollup` and `sum` are actively used.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/87462c9f66aa49dca02c14912aa53c48?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}