Skip to main content
100%

D3 Example

✓ Published0🌍 Public
CCurran Kelleher
Last edited Nov 22, 2015
Created on Nov 21, 2015

A polar area diagram displays the world’s religious populations, with each slice’s area proportional to its data value and colored by religion via a categorical color legend. Built with D3.js and d3-legend, it uses `d3.layout.pie`, `d3.svg.arc`, and a square-root scale to compute radii. Data comes from a CSV of Pew Research Center figures, rendered as SVG with a custom x-axis label.

AI-generated description

A polar area diagram of world religions with a color legend. This is similar to a pie chart, but with constant angles, varying area proportional to data. This is example 29 from the screencast Splitting Charts.

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/1c23d9c7070deb6f8488'>Religions Pie Chart</a>

<!-- Start of SimpleHitCounter Code --> <div align="center"><a href="http://www.simplehitcounter.com" target="_blank"><img src="http://simplehitcounter.com/hit.php?uid=1980286&f=16777215&b=0" border="0" height="18" width="83" alt="web counter"></a></div> <!-- End of SimpleHitCounter Code -->

Similar vizzes