{"version":"1.0","type":"rich","title":"tutorial2","description":"This stacked bar chart from the IMDb movie ratings dataset shows the percentage breakdown of rating categories within each genre, such as Documentary, Drama, and Action. It reveals how genres like Documentaries skew toward higher ratings while Action films cluster at lower scores. Built with D3 v7, the visualization uses `d3.stack()` and `d3.scaleOrdinal()` with a diverging color scheme. A custom tooltip tracks the mouse position via `event.pageX` and `event.pageY`, displaying the precise percentage for each segment on hover.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0c07201b6ec749779f34483aef37584c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}