Skip to main content
100%

D3 Example

✓ Published0🌍 Public
CCurran Kelleher
Last edited Jan 28, 2017
Created on Jan 28, 2017

This visualization shows stacked bar charts of the estimated religious population breakdown across the seven countries affected by the 2017 U.S. travel ban, based on 2010 Pew Research data. Each bar represents a country, with segments colored by religion and hover interactions highlighting specific religious groups. The code uses D3.js version 3, with `d3.layout.stack` for stacking, `d3.svg.axis` for axes, `d3.legend.color` for the legend, and `d3-tip` for tooltips. SVG rendering includes animated hover effects that fade the background bars.

AI-generated description

Stacked bars showing estimated religion breakdown and population of the 7 countries from which Donald Trump banned immigration to the US. The 7 countries are Iraq, Syria, Iran, Libya, Somalia, Sudan and Yemen.

Data is from The Global Religious Landscape by Pew Research (2010), generated using this processing script. Note that the data is ESTIMATION ONLY, and is from 2010. Also, countries for which values are noted as "< 10000" are transformed to be "0".

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/0d2cc6698cad72a48027b8de0ebb417d'>Religions of Largest 20 Countries</a>

<!-- Start of SimpleHitCounter Code --> <div align="center"><img src="http://simplehitcounter.com/hit.php?uid=2226829&f=16777215&b=0" border="0" height="18" width="83"></div> <!-- End of SimpleHitCounter Code -->
mit Licensed

Similar vizzes