{"version":"1.0","type":"rich","title":"Stacked Bars","description":"This stacked bar chart visualizes population distribution across countries by religious affiliation, using a horizontal layout where each bar segment represents a different religion’s share. Built with D3.js, the chart encodes categorical data via `d3.scale.ordinal` and `d3.layout.stack`, and supports interactive highlighting: hovering over the color legend dims non-selected layers and re-renders the foreground bars. Animated transitions via `transition.attr` control overlay opacity, while tooltips from `d3-tip` display exact values. The SVG rendering uses axes, a color legend from `d3-legend`, and loads population data from a CSV file.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/72ae607f4a7d4387a78ee3a72c3af7c6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}