Skip to main content
100%

question2.1

✓ Published0🌍 Public
NNagalakshmi Thota
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from Hello VizHub

This visualization shows a stacked bar chart of the Iris dataset, displaying the total sepal and petal measurements for each species. The chart uses d3.stack() to aggregate the four numerical attributes into color-coded segments per species, with a tooltip showing individual segment values on hover. The visualization renders with SVG, using d3.scaleOrdinal for colors, d3.scaleBand for the species axis, and d3.scaleLinear for the measurement axis. A legend identifies each attribute, and the data is loaded from an external CSV file using d3.csv.

AI-generated description
MIT Licensed

Similar vizzes