Varun_6_Question2
✓ Published0🌍 Public
This visualization displays the percentage breakdown of iris flower measurements by species using a stacked horizontal bar chart. The chart, rendered with SVG, uses D3.js v7’s `d3.stack` to accumulate the four measurement columns (sepal and petal length/width) per species. Each colored segment represents a variable’s proportion, with a tooltip revealing the exact percentage on hover. The data comes from the classic Iris dataset, with axes and labels styled via D3’s `axisBottom` and `scaleBand`.
AI-generated descriptionMIT Licensed