D3 Example
This visualization shows small multiples of polar area charts comparing the religious breakdown of the five most populous countries, with each slice sized by population and colored by religion. Using D3.js and d3-legend, the code applies nested selections and a pie layout, with a square-root radius scale to encode values. The chart renders in SVG and pulls data from the Pew Research Center Global Religious Landscape dataset, including a color legend for religion categories.
AI-generated descriptionA small multiples visualization of polar area charts showing the breakdown of religions for the largest 5 countries. This is example 30 from the screencast Splitting Charts.
- Data from Pew Research Center Global Religious Landscape data set
- Uses d3-legend
- Uses nested selections.
forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/94f1376b946c9d217014'>Polar Area Diagram</a>
<!-- Start of SimpleHitCounter Code --> <div align="center"><a href="http://www.simplehitcounter.com" target="_blank"><img src="http://simplehitcounter.com/hit.php?uid=1980288&f=16777215&b=0" border="0" height="18" width="83" alt="web counter"></a></div> <!-- End of SimpleHitCounter Code -->forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/40d5e61963abf20da067'>Polar Area Small Multiples</a>