 BaseController = require('controllers/BaseController')
+_ = require('underscore/underscore')
 
 class Scatterplot extends BaseController
   constructor: ->

  createGraph: ->
    @graph = nv.models.scatterChart()
                      .showLegend(false)
                      .color(d3.scale.category10().range())

  receiveData: (data) =>

          y: subject[@yAxisKey] 
          size: options.size 
          shape: options.shape
          zooniverse_id: subject.zooniverse_id

    d3.select("##{@channel} svg")
      .datum(series)
