           d3.select(this).selectAll('line')
             .style('stroke-width', d.lineWidth)
 
-        targetSelection.select('.circles').selectAll('circle')
-          .attr('r', 2)
+        targetSelection.select('.circles').each (d) ->
+          d3.select(this).selectAll('circle')
+            .attr('r', d.radius)
 
 
     mousePosition = mouseMoves.map (pos) ->

  deselectedOpacity: 0.5
  lineWidth: 1
  drawAsInfinite: false

seriesParams = [
  'lineWidth'
  'get_value'
  'get_timestamp'
  'drawNullAsZero'


    addCircles = (target, hover) ->
      if hover
        extraRadius = 3
        opacity = 0
      else
        extraRadius = 0
        opacity = 1

      target.append('g').attr('class', 'circles')
        .each (d) ->
          circleColor = d.color
          radius = d.radius + extraRadius
          d3.select(this).selectAll('circle')
          .data((d) -> d.scatterValues)
          .enter().append("circle")
