Fork of Religions of Largest 20 Countries
This stacked bar chart visualizes the estimated 2010 religion breakdown of the world’s 20 most populous countries, with each bar segmented by religious affiliation. Hovering over a bar displays a tooltip with the exact population count, while hovering over the color legend highlights the corresponding religion across all bars. Built with D3.js version 3.5, the visualization employs `d3.layout.stack` for the layered bars, `d3.svg.axis` for scales, and the third-party libraries `d3-tip` for tooltips and `d3-legend` for the interactive legend. Data originates from Pew Research’s Global Religious Landscape study.