     # data.push({"type":"Feature", "id":i, "geometry":{"type":"Point", "coordinates":[lon,lat]},"properties":{'time':Date.now()}})
     # randomStore.count += 1
 
+    startTime.setMinutes(startTime.getMinutes() + 1)
+
     data = allData.filter (d) ->
       d.properties.time < startTime
 
     allData = allData.filter (d) ->
       d.properties.time >= startTime
 
-    startTime.setMinutes(startTime.getMinutes() + 1)
 
     if startTime > endTime
       rtn = true

  time = Date.now()
  data = []

  lastSec = 0

  allData = []
  g = null


      cities = g.append("g").attr("id", "vis_cities")
      points = g.append("g").attr("id", "vis_points")
      updateCities(100)


  chart.start = () ->
    d3.values(locations).forEach (c) ->
      c.count = 0
    updateCities(10)
    d3.timer(addData, 200)

  chart.height = (_) ->
