docs: function(sliceCount, options) {
      validateSliceCount(sliceCount)
  
      options = options || {}
      var slices = []
  
      var step = 360 / sliceCount
      var halfStep = step / 2
      var min = 0
      var max = min + step
      var sliceNumber = 0
  
      if (options.firstSliceFacesUp) {
        // first slice straddles angle 0 and is actually two slice objects
        slices.push(createSlice(0, 360 - halfStep, 360))
        slices.push(createSlice(0, 0, halfStep))
  
        // tweak to account for first slice already existing
        sliceNumber = 1
        min = halfStep
        max = min + step
      }
  
      for (; sliceNumber < sliceCount; sliceNumber++, min += step, max += step) {
        slices.push(createSlice(sliceNumber, min, max))
      }
  
      return createPie(slices, !!options.yDown)
    }