    :max-bars 100
    :positive-y% 0.6})
 
-(defn filter-chartable-builds [builds]
-  (some->> builds
-           (filter insights/build-chartable?)
-           (take (:max-bars plot-info))
-           reverse
-           (map insights/add-queued-time)))
-
-(defn decorate-project
-  "Add keys to project related to insights - :show-insights? :sort-category :chartable-builds ."
-  [plans {:keys [recent-builds] :as project}]
-  (let [chartable-builds (filter-chartable-builds recent-builds)]
-    (-> project
-        (assoc :chartable-builds chartable-builds))))
-
 (defn build-time-bar-chart [builds owner]
   (reify
     om/IDidMount
     (did-mount [_]
       (let [el (om/get-node owner)]
-        (insights/insert-skeleton plot-info el)
-        (insights/visualize-insights-bar! plot-info el builds owner)))
+        (insights/insert-skeleton build-time-bar-chart-plot-info el)
+        (insights/visualize-insights-bar! build-time-bar-chart-plot-info el builds owner)))
     om/IDidUpdate
     (did-update [_ prev-props prev-state]
       (let [el (om/get-node owner)]
-        (insights/visualize-insights-bar! plot-info el builds owner)))
+        (insights/visualize-insights-bar! build-time-bar-chart-plot-info el builds owner)))
     om/IRender
     (render [_]
       (html

         [:div.card-header
          [:h3 "Build Timing"]]
         [:div.card-body
          (om/build build-time-bar-chart chartable-builds)]]
        [:div.card
         [:div.card-header
          [:h3 "Build Performance"]]

                                                         (filter #(and (= (:reponame %) (:repo navigation-data))
                                                                       (= (:username %) (:org navigation-data))))
                                                         first)
        chartable-builds (some->> (:recent-builds project)
                                  (filter insights/build-chartable?))
        bar-chart-builds (->> chartable-builds
                              (take (:max-bars build-time-bar-chart-plot-info))
                              (map insights/add-queued-time))]
    (html
     (if (nil? chartable-builds)
       ;; Loading...
