D3 Example
✓ Published0🌍 Public
CCurran Kelleher
Last edited Nov 20, 2015
Created on Nov 20, 2015
This example visualizes the population sizes of world religions using colored circles positioned along a horizontal axis. It shows the data as an array of circles, with each circle’s area encoding the population value and its color representing the religion category. The visualization is rendered as an SVG using D3.js (version 3.5.5), with an ordinal x-scale for categorical spacing, a square-root scale for radius, and a categorical color scale. The x-axis is rotated slightly, and data is loaded from a CSV file (`religionWorldTotals.csv`) using `d3.csv`.
AI-generated descriptionThis example shows how to make colored circles whose area represents a quantity. This is example 23 from the screencast Splitting Charts.
MIT License
<!-- Start of SimpleHitCounter Code --> <div align="center"><a href="http://www.simplehitcounter.com" target="_blank"><img src="http://simplehitcounter.com/hit.php?uid=1979629&f=16777215&b=0" border="0" height="18" width="83" alt="web counter"></a></div> <!-- End of SimpleHitCounter Code -->