code: function buildLayout() {
              layout = d3Shape.pie()
                  .padAngle(paddingAngle)
                  .value(getQuantity)
                  .sort(orderingFunction);
          }
docs: Builds the pie layout that will produce data ready to draw
  @private