Pie Chart
✓ Published0🌍 Public
CCurran Kelleher
Last edited Sep 15, 2017
Created on Aug 25, 2017
This pie chart visualizes the estimated number of adherents to major religions in 2010, using data from the Pew Research Center. It shows eight religious groups, with Christianity and Islam as the largest segments. The chart uses D3 v4’s `d3.pie` and `d3.arc` to compute and render SVG paths, with an ordinal color scale and an accompanying legend built using the `d3-legend` plugin. Values are loaded from a CSV file and parsed as numbers before being mapped to arc sizes.
AI-generated descriptionPart of the video course: D3.js in Motion.
This pie chart shows the estimated number of adherents to various religions in 2010. The data is from the Pew Research Center Global Religious Landscape data set.
mit Licensed