Transforming Data
✓ Published1🌍 Public
This example summarizes the classic Iris flower dataset by grouping measurements by species and displaying the average sepal length for each in a simple preformatted text output. The visualization demonstrates D3.js data transformation workflows by loading a CSV file with `d3.csvParse`, converting string values to numbers, and then using `flatRollup` with `sum` to calculate group means. The resulting summary is rendered as JSON text in the page, showing how raw tabular data can be aggregated into concise, readable statistics.
AI-generated descriptionMIT Licensed