{"version":"1.0","type":"rich","title":"Question 2","description":"A stacked bar chart depicts the survival rates for Titanic passengers, segmented by gender and categorized into \"Survived\" and \"Not Survived.\" The chart uses horizontally stacked bars, with gender on the y-axis and percentage on the x-axis, and includes an interactive tooltip that displays the exact percentage on hover, while also highlighting the bar segment. The visualization is built with D3 v7, utilizing `d3.select`, `d3.scaleBand`, `d3.scaleLinear`, and the `d3.stack` function to manage the data aggregation and layout.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8a255b703abd433c9772519eab6c38ac?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}