Activity 6_Question 2
✓ Published0🌍 Public
This stacked horizontal bar chart displays the percentage distribution of iris flower species, comparing the proportion of setosa, versicolor, and virginica flowers across different percentage ranges. The visualization uses D3.js v7 to render SVG elements, employing the d3.stack function to compute cumulative bar segments and d3.scaleOrdinal with a color scale to distinguish each species. Interactive tooltips appear on mouseover, revealing the exact percentage value for each segment. The data originates from the classic Iris dataset, with axes labeled for percentage and species categories.
AI-generated descriptionMIT Licensed