{"version":"1.0","type":"rich","title":"Activity7_Question-2","description":"This example visualizes the distribution of IMDb movie ratings across genres using a stacked bar chart. The chart breaks down each genre’s ratings into five percentage categories, from below 5.0 to above 8.5, with each segment colored and labeled in a legend. The code uses D3 v7’s `d3.stack()` and `d3.scaleOrdinal()` to produce the stacked segments, while `d3.axisBottom` and `d3.scaleBand` handle the axes. A custom tooltip appears on mouseover, showing the exact percentage for each rating category, and the data is loaded from a CSV file.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/05afd5eff81940c89d3f91f5d5d1b408?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}