         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')


  NodeGroup: class extends Backbone.Model
      initialize: -> @nodes = []

      total_value: =>
        total = 0
        total += n.val() for n in @nodes
        total

  View: class extends D3ChartView
    el: "body"

    outer_height: -> 410
    # lots of ugly transformations to adapt the current conventions
    prepare_data: =>
      @sector_list  = new D3.mekko.GroupCollection()
      @carrier_list = new D3.mekko.GroupCollection()
      @node_list    = new D3.mekko.NodeList()

      sectors  = []
      carriers = []
