     sp.innerHTML = s.value
     values[0] = Number.parseInt s.value
 madeGeneCharts = false
+chartDiv = ( tab, id ) ->
+  div = create 'div', 'chart', id
+  tab.appendChild div
+  id
 makeUniverse = ->
   p = convertParams()
   p.callback = collectData

  unless madeGeneCharts
    for type in [ 'plant', 'herbivore', 'carnivore' ]
      tab = byId "#{type}-chart"
      for gene, v of u.urThing(type).genes
        id = "#{type}-#{gene}"
        div = create 'div', 'chart'
        div.id = id
        tab.appendChild div
        charts = evoData.charts[type] ||= {}
        charts[gene] = geneChartSpec type, gene, id
evoData =
  generation: 0

    ar2.push ',' if i && !( i % 3 )
    ar2.push v
  ar2.reverse().join ''
create = (tag, cz, id) ->
  e = document.createElement(tag)
  e.setAttribute( 'class', cz ) if cz?
  e.id = id if id?
  e
chartType = 'options'
[ u, makeCharts, loaded ] = [ null, false, false ]
