Skip to main content
100%

Task 8 Q2_Vitesh Chalicheemala

✓ Published0🌍 Public
Mmanju.972@gmail.com
Last edited Apr 8, 2024
Created on Apr 8, 2024
Forked from Hello VizHub

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 description
MIT Licensed

Similar vizzes