Skip to main content
100%

Donut Chart 3 layers w. filters

✓ Published0🌍 Public
PPatrick Wojda
Last edited Dec 20, 2016
Created on Dec 19, 2016

This three-layer donut chart displays population data across 28 age groups, with each layer representing a progressively larger subset of the data. The chart uses D3 v3’s `d3.layout.pie` to compute arc angles, `d3.svg.arc` to define concentric ring geometries, and `d3.scale.ordinal` for color encoding. Instead of standard fills, each segment contains a circularly clipped placeholder kitten image, alternating between a grayscale filter and a custom “Gothamish” color matrix filter. Data is loaded from CSV via `d3.csv`.

AI-generated description

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

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3887193'>Donut Chart</a>

gpl-3.0 Licensed

Similar vizzes