   [card data render-img]
   [:div {:style scalar-style}
     (-> data :rows first first format-cell h)])
-
-(def ^:private sparkline-dot-radius 6)
-(def ^:private sparkline-thickness 4)
-(def ^:private sparkline-pad 10)
 
 (defn render-sparkline-to-png
   "Takes two arrays of numbers between 0 and 1 and plots them as a sparkline"

    (instance? java.util.Date value) (format-timestamp (.getTime value))
    (number? value) (format-number value)
    :else (str value)))

(defn card-href
  [card]

      [:div {:style "margin-top: 20px; margin-left: 30px;"}
        (render-table card [(last rows) (first rows)] cols render-img [0 1] nil)]]))

(defn detect-pulse-card-type
  [card data]
  (let [col-count (-> data :cols count)
