       .attr('transform', "translate(#{@width/2}, #{@height/2})")
     @axes = @center.append('g').attr('label', 'axes')
     @polygons = @center.append('g').attr('label', 'polygons')
-
-  renderTestingMarks: ->
-    # should point to upper-right corner
-    @center.append('line')
-      .attr('x1', 0)
-      .attr('x2', @width/2)
-      .attr('y1', 0)
-      .attr('y2', -@height/2)
-      .style('stroke', '#ddd')
-    @center.selectAll('circle.testing')
-      .data([1..@maxRadius()])
-      .enter()
-      .append('circle')
-      .attr('class', 'testing')
-      .attr('cx', 0)
-      .attr('cy', 0)
-      .attr('r', (d) => @radialDomain(d))
-      .style('fill', 'none')
-      .style('stroke', '#ddd')
-    pentagon = [(@convertToXY(5,index) for index in ([0..4]))]
-    spokes = [0,1,2,3,4]
-#    @center.selectAll('path.testing')
-#      .data(pentagon)
-#      .enter()
-#      .append('path')
-#      .attr('d', @polygon)
-#      .style('fill', 'none')
-#      .style('stroke', 'black')
-#    @center.selectAll('line.spoke')
-#      .data(spokes)
-#      .enter()
-#      .append('line')
-#      .attr('x1', 0)
-#      .attr('y1', 0)
-#      .attr('x2', (d) => @convertToXY(5, d).x)
-#      .attr('y2', (d) => @convertToXY(5, d).y)
-#      .style('stroke', 'black')
-#      .attr('label', (d) -> d)
 
   # not yet in use
   series_3_domain: (d) ->


  currentFilter: ->
    @_currentFilter or= @series_2_domain()[0]




  }
  
  {
    series_1: 'Survey 1'
    series_2: 'Filter 2'
    series_3: 100
    value: 3.5
  }
  {
    series_1: 'Survey 1'
    series_2: 'Filter 2'
    series_3: 200
    value: 1.5
  }
  {
    series_1: 'Survey 1'
    series_2: 'Filter 2'
    series_3: 300
    value: 2.1
  }
  {
    series_1: 'Survey 1'
    series_2: 'Filter 2'
    series_3: 400
    value: 3.8
  }
  {
    series_1: 'Survey 1'
    series_2: 'Filter 2'
    series_3: 500
    value: 3.1
  }
]

window.moreComplexData = [
  {series_1: 'Survey 1',series_2: "Filter 1", series_3:100, value: 3.4941219999454916},
  {series_1: 'Survey 1',series_2: "Filter 1", series_3:200, value: 1.9292143830098212},
  {series_1: 'Survey 1',series_2: "Filter 1", series_3:300, value: 2.713041902985424},
  {series_1: 'Survey 1',series_2: "Filter 1", series_3:400, value: 1.5061968080699444},
  {series_1: 'Survey 1',series_2: "Filter 1", series_3:500, value: 5.406578453723341},
  {series_1: 'Survey 1',series_2: "Filter 2", series_3:100, value: 4.2298069428652525},
  {series_1: 'Survey 1',series_2: "Filter 2", series_3:200, value: 5.5519170253537595},
  {series_1: 'Survey 1',series_2: "Filter 2", series_3:300, value: 0.2769786645658314},
  {series_1: 'Survey 1',series_2: "Filter 2", series_3:400, value: 1.6917675621807575},
  {series_1: 'Survey 1',series_2: "Filter 2", series_3:500, value: 0.619645903352648},
  {series_1: 'Survey 1',series_2: "Filter 3", series_3:100, value: 4.02297692745924},
  {series_1: 'Survey 1',series_2: "Filter 3", series_3:200, value: 2.8029478769749403},
  {series_1: 'Survey 1',series_2: "Filter 3", series_3:300, value: 0.9199619614519179},
  {series_1: 'Survey 1',series_2: "Filter 3", series_3:400, value: 2.8409991916269064},
  {series_1: 'Survey 1',series_2: "Filter 3", series_3:500, value: 4.59977040393278}]

chart.data(moreComplexData)
  .maxRadius(6)
  .series_2_domain(d3.scale.ordinal().domain(x.series_2 for x in moreComplexData).domain())
  .render()
