src/charts/donut.js
function buildLayout() {
            layout = d3Shape.pie()
                .padAngle(paddingAngle)
                .value(getQuantity)
                .sort(orderingFunction);
        }
function buildLayout() {
            layout = d3Shape.pie()
                .padAngle(paddingAngle)
                .value(getQuantity)
                .sort(orderingFunction);
        }
function buildLayout ( ) { layout = d3Shape . pie ( ) . padAngle ( paddingAngle ) . value ( getQuantity ) . sort ( orderingFunction ) ; }
Builds the pie layout that will produce data ready to draw
@private
Builds the pie layout that will produce data ready to draw