{"version":"1.0","type":"rich","title":"Activity-6_Task-2","description":"This example visualizes the distribution of IMDb movie ratings across six genres using a stacked horizontal bar chart. The chart displays the proportion of movies within five rating brackets, from below 5.0 to above 8.5, for each genre, with a tooltip revealing exact percentages on hover. Built with D3 v7, the code utilizes `d3.stack()` to compute stacked series, `d3.scaleOrdinal()` for color mapping, and `d3.scaleBand()` and `d3.scaleLinear()` for positioning. Data is loaded from an external CSV file, and the visualization renders as SVG with interactive mouse events.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/90b0d20b5ea842f0af7529c1812296a6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}