{"version":"1.0","type":"rich","title":"Activity Task 2 ","description":"This visualization displays the proportional ratings for different genres as horizontally stacked bars, using the classic Iris dataset. It maps the percentage composition of each genre across the data, with a legend indicating the rating categories. The code builds a stacked bar chart using `d3.stack()`, `d3.scaleBand()`, and `d3.scaleLinear()`, rendered as SVG. Interactive tooltips appear on mouseover, showing the exact percentage for each segment, and colors are assigned via `d3.scaleOrdinal()`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/41324a174e9f41ecbe312d5abce41a8b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}