     ((@_checked[e] or= true) unless @_checked[e] is false) for e in d
     return if d.length is 1
     @legend.selectAll('g.filter_legend_item').remove()
-    offset = (@legend.selectAll('.legend-icon')[0].length + 2) * @legend_item_height
+    offset = (@legend.selectAll('.legend-icon')[0].length + 3) * @legend_item_height
 
     items = @legend.selectAll('g.filter_legend_item')
       .data(d)

      .attr('transform', "translate(10, 3)")
      .attr('alignment-baseline', 'middle')

  # FIXME
  renderFilterLegend: =>
    @_checked or= {}

    @afterRender()

  beforeRender: ->
    @_hide_columns_below_n(@_n_threshold) unless @_show_unstable_data

  show_unstable_data: (b) ->
    @_show_unstable_data = b
    @filter_data(@_filters)
    @render()

  _render: -> null
  afterRender: ->
    @renderUnstableLegend()
    @_adjust_svg_dimensions()

  _adjust_svg_dimensions: ->
