{"version":"1.0","type":"rich","title":"Activity 6 - Transforming Data","description":"This example demonstrates data transformation by loading the Iris flower dataset from a CSV file and computing the average sepal length for each species. The visualization displays the results as a formatted JSON summary, using a minimal text-based output. The code leverages D3 v7 functions including `csvParse` to parse the data, `flatRollup` and `aggregate` to group records and calculate sums, and `select` for DOM manipulation. This highlights how D3 can transform raw tabular data into structured summaries.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/12cf0f2b219846df944974011385f8cb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}