Transforming Data
✓ Published0🌍 Public
This example analyzes the classic Iris dataset, transforming rows of flower measurements into a concise summary. It displays the average sepal length for each of the three iris species (setosa, versicolor, and virginica) as a formatted JSON text block. The visualization fetches the data from a CSV file, parses it with `d3.csvParse`, and groups the records by species, computing the average value using `flatRollup` and `sum`. The resulting summary is then rendered inside a `<pre>` element, showcasing a simple data aggregation pipeline built with the D3.js framework.
AI-generated descriptionMIT Licensed