Skip to main content
100%

Activity - 6_Question - 2.3

✓ Published0🌍 Public
Mmalisettisaisumanth@gmail.com
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This stacked bar chart displays the average sepal and petal measurements for iris species from the provided CSV dataset. The visualization aggregates the raw data using `d3.nest()` and `d3.rollup()` to compute means per species, then renders four stacked segments per species using `d3.stack()`. Each segment’s height corresponds to its average measurement, with colors assigned via `d3.scaleOrdinal(d3.schemeCategory10)`. The chart uses D3 v5 with an SVG rendering approach, including axes generated through `d3.axisBottom()` and `d3.axisLeft()`.

AI-generated description
MIT Licensed

Similar vizzes