       geometry:
         type: 'LineString'
         coordinates: d.nominal
-    @frame.append 'path'
+    @dframe.append 'path'
       .datum data
       .attr
         class: "nominal #{newClass}"

        class: 'dataFrame'
        'clip-path': 'url(#clip)'

    @svg.append 'use'
      .attr
        'xlink:href': '#sphere'
        fill: 'none'
        stroke: 'black'
        'stroke-width': 2

  addData: (d, main=true)->
    newClass = if main then 'main' else 'component'

      geometry:
        type: 'Polygon'
        coordinates: coords
    @dframe.append 'path'
      .datum rewind(data)
      .attr
        class: "errors #{newClass}"
