{"version":"1.0","type":"rich","title":"Transforming Data","description":"This example shows the Iris dataset transformed into a summary of average sepal length per species, displayed as formatted JSON text in a `<pre>` element. The visualization fetches and parses `data.csv` using `d3.csvParse`, then applies `d3.flatRollup` and `d3.sum` to compute the species averages. The code also demonstrates a state management pattern with `setState` for handling loading states, rendering the result with D3’s `select` and `join` methods.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c87bebdd12af497186bfc18a3129f915?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}