       ;(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"})))))

        time-scale (-> (.scale (.-time js/d3))
                       (.domain #js [(js/Date. (:year (first graph-data)) 0), (js/Date. (:year (first graph-data)) 11)])
                       (.range #js [0, width]))
        y-axis (graph/create-axis total-scale :right width tick-padding graph/number-formatter y-tick-count)
        x-axis (graph/create-axis time-scale :top height tick-padding graph/month-formatter x-tick-count)
        x-axis-group (-> (.append line-group "g")

            :identifier (:identifier x)
            :val (get-data-type type (:totals x))}) data)})

(defn set-graph
  [graph-data]
  (println (count (clj->js (map #(js/Date. (:year %) (:month %)) graph-data))))
  (let [count-data (count graph-data)
