Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6_que 2

Public visualization

activity6_que 2

0 stars0🌍 Public
NNagalakshmi Thota
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Hello VizHub

This visualization displays the percentage composition of the Iris dataset, broken down by species and flower part measurements. The horizontal stacked bar chart uses d3.stack to aggregate the data, with each bar representing a different species and colored segments showing the proportional contribution of sepal length, sepal width, petal length, and petal width. The d3.scaleLinear and d3.scaleBand axes map the percentage values, while mouseover interactions trigger a tooltip that reports the exact percentage for each segment. The data is loaded from an external CSV file containing the classic Iris flower measurements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed