         .attr("width", @width + margins.left + margins.right)
         .append("svg:g")
         .attr("transform", "translate(#{margins.left}, #{margins.top})")
+
+      @x = d3.scale.linear().range([0, @width])
+      @y = d3.scale.linear().range([0, @series_height])
 
       y_scale = d3.scale.linear().domain([100,0]).range([0, @series_height])
 

  # This represents a carrier within a sector
  Node: class extends Backbone.Model
    initialize: =>
      @sector = D3.mekko.sector_list.find((s) => s.get('key') == @get('sector'))
      @carrier = D3.mekko.carrier_list.find((s) => s.get('key') == @get('carrier'))
      @sector.nodes.push this
      @carrier.nodes.push this


        carriers.push
          label: s.get('label')
          color: s.get('color')
          view: this
      sectors  = _.uniq sectors
      carriers = _.uniq(carriers, false, (c) -> c.label)

      for sector in sectors
        @sector_list.add
          key: sector
          view: this
      for carrier in carriers
        @carrier_list.add
          key: carrier.label
          label: carrier.label # used by the legend
          color: carrier.color
          view: this

      for s in @series
        sector  = s.get('group_translated')
