 
 (def animation-tick 75)
 (def animation-factor 15)
-(def graph-scale 4)
+(def graph-scale 3)
 (def graph-bar-width 30)
-(def graph-height 500)
+(def graph-height 400)
 
 (defn animated-bar-graph
   "Component that displays the data (text) returned by the server after processing."

    (render-state [this {:keys [data]}]
                  (let [s (:data/text app)
                        t (make-target s)]
                    (html [:div {:style {:height 600}}
                           [:p (str "The string '" s "' represented as a bar chart:")]
                           (into [:svg {:id "display" :width "100%" :height graph-height}]
                                 (map (fn [v1 v2 o]

                  (nv-line-graph (mapv (fn [a b] {:y a :x b}) (make-target (:data/text app)) (range)))))
    om/IRender
    (render [this]
            (dom/div #js {:style #js {:height 400}
                          :react-key "nv-node"
                          :ref "nv-node"
                          :id "nv-node"}))))
