Fork of Religions of Largest 20 Countries
This fork visualizes the estimated 2010 religious composition of the world’s 20 most populous countries as a stacked horizontal bar chart, with each bar’s segments colored by religion. Hovering over a bar reveals a tooltip with the country, religion, and population count, while hovering over the legend highlights bars for a specific religion by overlaying semi-transparent layers. The chart is built with D3.js version 3, using `d3.layout.stack` for stacking, `d3.svg.axis` for scales, and the `d3-legend` and `d3-tip` libraries for the legend and tooltips. Data originates from the Pew Research Center’s Global Religious Landscape report, processed via a custom script.