🌍 Public
Viewing a saved revision (read-only)
21a2b3da090a43b680139fd641be4581
Activity6_Question2
This stacked bar chart displays the percentage distribution of iris flower measurements (sepal length, sepal width, petal length, and petal width) across the three iris species. The visualization uses d3.v7 with d3.stack() to stack the percentage values for each species, d3.scaleBand for the categorical y-axis, and d3.scaleLinear for the percentage x-axis. A color scale maps each measurement type to a distinct color, and the chart includes hover interactions that display tooltips showing the exact percentage values for each segment.
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.