Arc Padding II
✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Dec 29, 2015
Seven wedges of varying size form a donut chart, with each slice tinted by a semi-transparent fill and outlined in a thin stroke. The example highlights `d3.arc` with a `padAngle` of 0.03, spacing adjacent arcs apart. It draws using Canvas 2D via the arc’s `.context`, processing an array of Fibonacci numbers through `d3.pie`. The chart renders on a 960×500 canvas, with d3.v4 alpha providing the shape and layout helpers.
AI-generated descriptionA demonstration of arc.padAngle.
gpl-3.0 Licensed