{"version":"1.0","type":"rich","title":"Activity-6_task-2","description":"This visualization shows the distribution of IMDb movie ratings across six genres, displayed as a horizontal stacked bar chart. The chart breaks down each genre into five rating categories, from below 5.0 to above 8.5, showing the percentage of movies in each segment. The code loads data from a CSV file and uses d3.stack() to compute the stacked segments, d3.scaleBand() for the categorical y-axis, and d3.scaleLinear() for the percentage x-axis. Interactive tooltips appear on mouseover, displaying the exact percentage for each rating segment, while a color legend distinguishes the rating categories.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2cacb82897bc4dc69eb0985da22e118f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}