{"version":"1.0","type":"rich","title":"Activity6_q2","description":"This stacked bar chart visualizes the distribution of ratings across different movie genres, with each bar segment representing a rating category’s proportion of the total. The chart aims to show how ratings are composed within each genre, with hovering over a segment revealing the exact percentage via a tooltip. Built with D3 v7, the code uses `d3.stack()`, `d3.scaleLinear`, and `d3.scaleBand` to render the SVG, while `d3.axisBottom` and `d3.axisLeft` provide the axes. The data is loaded from a CSV file, and percent values are formatted with `d3.format`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6df865cf10314481bdd9996da52b763c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}