Pie Padding
This example demonstrates a pie chart with padding between its arcs, using D3 version 3.5’s `d3.layout.pie` to compute arc positions while preserving relative area and angle. The chart renders as an SVG donut with an inner and outer radius, colored via `d3.scale.category10()`. The data values are the Fibonacci sequence `[1, 1, 2, 3, 5, 8, 13, 21]`, and the gist forks mbostock’s original block, encoding each slice as a path element with `d3.svg.arc()`.
AI-generated descriptionD3 3.5’s d3.layout.pie supports optional padding between arcs. The sides of adjacent arcs are parallel, and the relative area (and angle) of arcs are approximately preserved.
forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/f098d146315be4d1db52'>Pie Padding</a>