         .attr("y", 8)
         .text((d) -> d.get 'label')
 
-
       # the stack method will filter the data and calculate the offset for every
       # item. The values function tells this method that the values it will
       # operate on are an array held inside the values member. This member will

        .attr('class', 'year')
        .text((d) -> d)
        .attr('x', (d, i) => if i == 0 then -10 else 430)
        .attr('y', 205)

      @y = d3.scale.linear().range([0, @height]).domain([0, 7])
      @inverted_y = d3.scale.linear().range([@height, 0]).domain([0, 7])

      # This method will return the SVG area attributes. The values it receives
      # should be already stacked

        right: 20

      @width = 494 - (margins.left + margins.right)
      @height = 300 - (margins.top + margins.bottom)
      # height of the series section
      @series_height = 190
      @svg = d3.select("#d3_container_#{@key}")
        .append("svg:svg")
        .attr("height", @height + margins.top + margins.bottom)
