Skip to main content
100%

D3 Example

✓ Published0🌍 Public
TThanaporn-sk
Last edited Mar 9, 2017
Created on Mar 9, 2017

This example displays a small multiples visualization of polar area charts, showing the breakdown of religious populations for every country on Earth. The code renders each country as a separate pie chart, with the arc radii scaled to population size and colored by religion using D3's SVG rendering and the d3-legend library. The visualization is explicitly noted as difficult to read due to occlusion but offers a starting point for exploring the Pew Research data. Users can click the color legend to re-sort countries by the selected religion's population.

AI-generated description

A small multiples visualization of polar area charts showing the breakdown of religions for all countries. This is a variation derived from example 30 from the screencast Splitting Charts.

This visualization is useless, in the sense that it is not very readable. It has many issues, such as occlusion, but it does show the data for all countries on earth. This example gives a starting point for exploring how this data can be visualized more effectively. Please fork this block and experiment!

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=1990880&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/60a1ba782ce09cf2091e'>Useless Vis</a>

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/38845ef1d0c11b40dfd8'>Sortable Slices</a>

mit Licensed

Similar vizzes