{"version":"1.0","type":"rich","title":"Question2","description":"This stacked bar chart displays the percentage distribution of IMDb ratings across different movie genres, with each bar segment representing a rating level. The visualization uses d3.stack() to compute stacked bar values, d3.scaleBand() for the categorical y-axis, and d3.scaleLinear() for the percentage x-axis. Hovering over a bar segment triggers d3.select() and tooltip event handlers, showing the precise percentage for that rating level within the genre. The code renders SVG graphics using d3.v7, formatting percentage labels with d3.format('.2f').","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/85ec29d4e3454b01a7c24896c75aa684?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}