A small multiples visualization of pie charts showing the breakdown of religions for the largest 5 countries. This is example 32 from the screencast Splitting Charts.
Note that area is not proportional to population, because the donuts are all the same size, regardless of population. This visualization shows the proportions of different religions within each country only. This property makes this visualization misleading in a way. For example, Brazil gets just as many pixels as China while being only a fraction of the population. To remedy this, it would be better to size each pie chart based on the population of each country.
forked from curran's block: Polar Area Small Multiples
forked from curran's block: Donut Chart Small Multiples
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js
https://cdnjs.cloudflare.com/ajax/libs/d3-legend/1.1.0/d3-legend.js