🌍 Public
Viewing a saved revision (read-only)
5350d37dc6f74d33849589270d4ee959
Task 8 Q2_Vitesh Chalicheemala
This visualization displays the percentage distribution of iris species across the entire dataset using a 100% stacked bar chart. Each horizontal bar represents a species, segmented by color-coded proportions of the four measured attributes. The chart uses D3.js v7 with an SVG rendering approach, employing `d3.stack()` to compute stacked values, `d3.scaleLinear()` and `d3.scaleBand()` for axes, and `d3.scaleOrdinal()` for color mapping. Hovering over any segment reveals the precise percentage contribution of that attribute to the selected species via an interactive tooltip.
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.