Skip to main content
100%

act_6_task2Q

✓ Published0🌍 Public
Hhlmn4936@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024

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 description
MIT Licensed

Similar vizzes