block by mbostock 053fcc2295a445afab07

Arc Padding

Full Screen

This animation demonstrates the pitfall of setting arc.padAngle directly: small arcs are disproportionately affected, introducing bias. If you set pie.padAngle instead, the relative areas of arcs are preserved.

Updated Example →

index.html