Fork of Religions of Largest 20 Countries
This stacked bar chart shows the estimated 2010 religious breakdown of the world’s 20 most populous countries, using data from the Pew Research Center’s Global Religious Landscape. Each bar represents a country’s total population, segmented by religion and colored using a categorical scale. Animations are present, and hovering over bars reveals tooltips with exact counts, while hovering over the legend highlights specific religions by fading out others. The visualization is built with D3 v3, using stacked layouts, ordinal and linear scales, and the d3-tip and d3-legend libraries for interactivity.