 
 
 (deftemplate stat-screen "templates/stats.html" [app]
-  {[:#selected-stat] (content "Tweets Count")
-   [:#tweets-count] (listen
-                     :on-mount
-                     #(let [data [23 34 99 34 11]
-                            margin {:top 50 :right 50 :bottom 50 :left 50}
-                            width (- (.-clientWidth (. js/document (getElementById "tweets-count"))) (margin :left) (margin :right))
-                            height (- 500  (margin :top) (margin :bottom))]
-                        (draw-bars data height width margin)))})
+  {[:#selected-stat] (content "Tweets Count")})
+
 
 
 (deftemplate tweet-list "templates/tweet-list.html" [data owner]

                         (inc tweet-count)))))

                  :news-frequencies
                  (om/transact!
                   app
                   :news-frequencies
                   (fn [old] data)))
                (recur))))))

    om/IRenderState

  (-> d3
      .-scale
      (.ordinal)
      (.domain (vec (keys data)))
      (.rangeRoundBands [0 width] 0.5)))


