Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
Mmbostock
Last edited Oct 7, 2018
Created on Oct 14, 2012

This pie chart displays the population distribution across seven age groups, from under five to 65 and over, with each slice labeled and colored distinctly. The visualization is built using D3 v4, leveraging d3-dsv to parse the CSV data, d3-scale for the ordinal color encoding, and d3-shape’s `d3.pie` and `d3.arc` to compute and render the arcs as SVG paths. Labels are positioned using the arc centroid method.

AI-generated description

This pie chart is constructed from a CSV file storing the populations of various age groups. The chart employs a number of D3 features:

gpl-3.0 Licensed

Similar vizzes