This is a small code example that shows what d3.layout.pie(). It adds properties including “startAngle”, “endAngle” for the slices of a pie chart. This is example 24 from the screencast Splitting Charts.
MIT License