🌍 Public
Viewing a saved revision (read-only)
12b53ef77f3a408490552b9ba6ce8e18
Activity6_Question3
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.