act_6_task2Q
✓ Published0🌍 Public
This interactive visualization presents a stacked bar chart comparing average flower measurements across three Iris species. The bars display four features—sepal length, sepal width, petal length, and petal width—for each species, with a color-coded legend identifying each feature. Hovering over any segment reveals a tooltip with the specific average measurement in centimeters. The chart loads CSV data via `d3.csv` and uses `d3.scaleOrdinal`, `d3.scaleLinear`, and `d3.scaleBand` to position elements, while `d3.stack` computes the aggregated bar segments. The SVG rendering includes horizontal gridlines from `d3.axisBottom` and custom styling.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed