Skip to main content
100%

Pie Multiples with Nesting

✓ Published0🌍 Public
TThanaporn-sk
Last edited Jan 18, 2017
Created on Jan 18, 2017

Multiple donut charts visualize flight counts by carrier for four U.S. airports, with each chart sized identically. The nested tabular data groups flights by origin airport, and each pie chart uses a donut layout with arcs encoding count magnitudes. The visualization is rendered as SVG using D3.v3 APIs: `d3.layout.pie` computes arc angles, `d3.svg.arc` draws the donut shapes, and `d3.nest` groups the CSV data. Color assignment uses `d3.scale.category20c()` on carrier names, with labels positioned at arc centroids.

AI-generated description

An example of multiple pie (donut) charts created with D3. The data is represented as a tabular array of objects; each row in the table is mapped to an arc, and rows are grouped into pie charts using d3.nest.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/1305337'>Pie Multiples with Nesting</a>

gpl-3.0 Licensed

Similar vizzes