   (reify
     om/IInitState
     (init-state [_]
-      {:chart nil})
+      {:events-processed-chart nil})
     om/IDidMount
     (did-mount [_]
-      (let [chart (.generate js/c3
-                             #js {:bindto "#chart"
+      (let [events-processed-chart (.generate js/c3
+                             #js {:bindto "#events-processed"
                                   :data
                                   #js {:x "x"
                                        :columns #js []}

                    block)))))))

(defn update-chart! [chart data]
  (let [vector-data (clj->js (concat ["Incoming Events"] (:val data)))
        x-axis (clj->js (concat ["x"] (:timestamps data)))]
    #_(.log js/console vector-data)
    (.load chart #js {:columns #js [x-axis vector-data]})))

        (do
          (>! ws-channel {:ok true})
          (loop [elem (<! ws-channel)
                 last-25 []
                 timestamps []
                 previous 0
                 is-first? true]
