Fork of Religions of Largest 20 Countries
This stacked bar chart displays the estimated 2010 religious breakdown for the 20 most populous countries, based on Pew Research data. Each bar shows the population share of religions, with hover tooltips revealing exact values and a legend hover that highlights specific religions by fading background bars. The visualization uses D3 v3 with `d3.layout.stack` for layering, `d3.scale.ordinal` for country positioning, and `d3-tip` for tooltips. SVG rendering includes custom axes, a categorical color scale, and interactive legend highlighting implemented through overlay rectangles.