{"version":"1.0","type":"rich","title":"task 2 question 2 ","description":"This example visualizes the percentage distribution of iris flower measurements (sepal length, sepal width, petal length, and petal width) across three species: setosa, versicolor, and virginica. It renders a stacked horizontal bar chart in SVG, with each bar representing a species and colored segments showing proportional contributions of each measurement type. The code uses d3.stack() to compute the stacked values, d3.scaleOrdinal() for color mapping, and d3.scaleLinear() and d3.scaleBand() for positioning. Interactive tooltips display precise percentage values on mouseover, with data loaded from the built-in Iris dataset.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7a43b38b57e741f6865169a3015ed8e1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}