{"version":"1.0","type":"rich","title":"Activity 7 Task 2","description":"This example visualizes the distribution of movie ratings across six genres using a stacked horizontal bar chart. Each bar represents a genre, divided into five rating categories from \"below 5.0\" to \"above 8.5,\" with segment lengths proportional to the percentage of movies in each category. The chart includes a color-coded legend, axis labels, and hover tooltips that display the exact percentage for each rating segment. The visualization is built with D3 v7, using `d3.csv` to load the data, `d3.stack` to process the rating categories, and `d3.scaleBand` and `d3.scaleLinear` for the axes. SVG rendering is used, with interactive mouse events for tooltips.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6ffbf928f48f402582b3d6a5e2a18062?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}