Activity6_Task2
✓ Published0🌍 Public
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.
MIT Licensed