Fork of Interactive Stacked Bar Chart
This stacked bar chart visualizes the estimated religious composition of the world’s 20 most populous countries in 2010, sized by population in millions. Hovering over the legend highlights the corresponding religion across all bars while fading others. The visualization uses D3’s `scaleOrdinal`, `scaleLinear`, `scaleBand`, and `stack` APIs, with interactive legend handling and data sourced from the Pew Research Center’s Global Religious Landscape report.