🌍 Public
Viewing a saved revision (read-only)
41b688b5fd4b48c28e53af5237f2f5c3
Activity6_Task2
Iris measurements from the classic Iris dataset appear as horizontally stacked bars for each species, with four segment colors mapping the sepal and petal dimensions. The chart uses d3.stack and scaleBand to arrange layers per species, and hover tooltips reveal exact numerical values per segment. Axis ticks are drawn with d3.axisBottom, and the SVG rendering includes explicit axes, labels, and a color legend.
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.