Skip to main content
100%

Activity6_Question3

✓ Published1🌍 Public
Hharshabandi3060@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This stacked bar chart visualizes the average sepal and petal measurements for three Iris species (setosa, versicolor, virginica) using D3.js v7. It shows how each species’ total measurement is composed of four attributes, as aggregated from the provided iris.csv data. The visualization uses d3.stack for data transformation, d3.scaleBand and d3.scaleLinear for positioning, and renders via SVG. A color-coded legend identifies each variable, and the d3.axisBottom and d3.axisLeft functions create the labeled axes.

AI-generated description
MIT Licensed

Similar vizzes