       showColor: true
     }
   render: ->
-    colors = d3.scale.category20()
+    colors = d3.scale.category20b()
     rows = _.map @props.data, (d) =>
       if d.value == 0 and not @props.showZero
         return null

      id: 29988
      ehp: 150000
      fit: 'https://o.smium.org/loadout/private/23324/6303219387142766592'
    # avatar:
    #   pluralName: 'Avatars'
    #   id: 11567
    #   ehp: 22600000
    #   fit: 'https://o.smium.org/loadout/private/23322/7459269642280763392'
  render: ->
    if @props.damage == 0
      return null
    else
      ship = _.sample @ships
      numShips = d3.round(@props.damage / ship.ehp, 1)
      stamps = []
      for i in [0...Math.floor(numShips)]
        stamps.push dom.img {key: i, src: eveIconUrl(ship.id), width: 32, height: 32, className: 'stamp pull-left'}

      return dom.div {className: 'row'},
        dom.h4 {className: 'pull-left'},
          dom.em null,"You have dealt enough damage to kill #{numShips} "
            dom.a {href: ship.fit}, ship.pluralName
        dom.div {className: 'clearfix'}, ''
        dom.div {className: ''}, stamps

      return

    radius = 90
    arcWidth = 10
    padding = 2

    getOffset = (i) ->
      return radius - (i * (arcWidth + padding))
