       ;(println "line-graph-data: " data)
       (dom/div nil
         (dom/h2 #js {:className "graph-title"} title)
-        (dom/div #js {:className "line-graph-modal"})))))+        (dom/div #js {:className "line-graph-modal"})))))

                         (.attr "y" 0)
                         (.attr "dy" ".25em")
                         (.style "text-anchor" "end"))
        lines (-> (.selectAll line-group "rect.bar")
                 (.data (clj->js graph-data)))
        enter (.enter lines)]
    (println "set-graph:" graph-data)
    ;(-> (.append enter "svg:rect")
    ;    (.attr "x" 0)
    ;    (.attr "y" #(* bar-height %2))
    ;    (.attr "height" (- bar-height bar-padding))
    ;    (.attr "width" #(total-scale (.-val %)))
    ;    (.attr "class" #(.-type %)))
    ))

(defn line-graph-view

                         (.attr "x" 0)
                         (.attr "y" 12)
                         (.attr "dx" "-1.5em")
                         (.style "text-anchor" "start"))
        y-axis-group (-> (.append line-group "g")
                         (.attr "transform" (str "translate(0, -25)"))
                         (.attr "class" "y axis")
