Fork of Activity6_Q2.3
✓ Published0🌍 Public
This stacked bar chart visualizes the Iris dataset, showing the distribution of four flower measurements (sepal and petal length/width) across three species. The visualization uses the d3.stack generator to create the layered bar segments, with d3.scaleBand and d3.scaleLinear handling the categorical and continuous axes respectively. Each species group displays four colored segments corresponding to the measurement variables, rendered as SVG rectangles within the D3.js v6 framework. The chart is interactive only through standard browser zoom, with axis labels and tick marks formatted using D3's axis functions.
AI-generated descriptionMIT Licensed