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.
https://d3js.org/d3.v4.0.0-alpha.4.min.js