   displayName: 'BarChart'
   getDefaultProps: ->
     return {
+      max: null
       width: 300
       height: 150
       padding: 30

  componentDidUpdate: ->
    el = @getDOMNode()

    max = _.max @props.data, (d) -> d.value

    x = d3.scale.linear()
          .domain [0, max.value]
          .range [0, @props.width]

    y = d3.scale.ordinal()

# * tick marks on HP Chart
# * Fix 1 column layout, test on phone/tablet
# * Partial analogy icons (0.6 of an avatar)
# * More ships, auto select ship that has a couple hundred kills

# Data requests / questions
# * Incursions?
# * Rat kills
# * DED/explo plexes
# * Pods contained in the kill data or separate?
# * Drone damage (also, are fighters drones?)

React = require 'react'
$ = require 'jquery'
