   ]
 
 createThresholdInspection = (variables, metric, index) ->
-  [ div, h1, h2, table, grid, tbody, tr, th, td ] = geyser.generate words 'div h1 h2 table.table.table-condensed table.table.table-bordered tbody tr th td'
+  [ div, h1, h2, table, grid, tbody, tr, th, td, span ] = geyser.generate words 'div h1 h2 table.table.table-condensed table.table.table-bordered tbody tr th td span'
+  swatch = createInspectionColorSwatch()
 
   tabulateProperties = (index) ->
     table tbody map variables, (variable) ->

    .attr 'cy', (d) -> scaleY readY d
    .attr 'stroke', (d) -> d.color
    .on 'click', (d) -> inspect d

  el


      ]

  div [
    h1  [ 
      swatch '', $color:metric.color
      span metric.caption
    ]
    h2 'Outputs'
    tabulateProperties index
  ]
