{"version":"1.0","type":"rich","title":"Stacked Bar Chart","description":"Stacked bar charts visualize the distribution of religious populations across fifteen countries. Each bar represents a country’s total population, segmented by religion, with a d3-tip tooltip revealing exact numbers on hover; hovering the color legend highlights a single religion across all countries. The D3.js code uses `d3.nest`, `d3.layout.stack`, and `d3.svg.axis` to stack and scale layers, with SVG animation-driven transitions. Data comes from an embedded CSV, rendered with an ordinal x-scale, linear y-axis, and category10 color scheme.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1e59b601a7004c56a05374da5a3ea5a4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}