                                       (.tickFormat #(first (datetime/millis-to-float-duration % {:decimals 0})))
                                       (.tickSize 0 0)
                                       (.tickPadding 3)))
-        scale-filler (->> (list (:max-bars plot-info) (count builds))
-                          (apply -)
+        scale-filler (->> (- (:max-bars plot-info) (count builds))
                           range
                           (map (partial str "xx-")))
         x-scale (-> (js/d3.scale.ordinal)
                     (.domain (clj->js
-                              (concat (map :build_num builds) scale-filler)))
+                              (concat scale-filler (map :build_num builds))))
                     (.rangeBands #js[0 (:width plot-info)] 0.4))
         plot (-> js/d3
                  (.select el)

                        (.domain #js[0 y-neg-max])
                        (.range #js[y-zero (:height plot-info)]))
        y-pos-floored-max (datetime/nice-floor-duration y-pos-max)
        y-pos-tick-values (list y-pos-floored-max 0)
        y-neg-tick-values [(datetime/nice-floor-duration y-neg-max)]
        [y-pos-axis y-neg-axis] (for [[scale tick-values] [[y-pos-scale y-pos-tick-values]
                                                           [y-neg-scale y-neg-tick-values]]]

                                   (map #(->> builds
                                              (map %)
                                              (apply max))))
        y-zero (apply * ((juxt :height :positive-y%) plot-info))
        y-pos-scale (-> (js/d3.scale.linear)
                        (.domain #js[0 y-pos-max])
                        (.range #js[y-zero 0]))
