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

  markup: div()
  behavior: render

createMetricInspection = (variables, metric) ->
  [ div, h1, h2, table, tbody, tr, th, td ] = geyser.generate words 'div h1 h2 table.table.table-condensed tbody tr th td'

  div [
    h1 metric.caption
    table tbody map variables, (variable) ->
      value = variable.read metric
      tr [

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

  el

