           (d/p {:class "text-muted text-center"
                 :style {:display (if (:result result) "none" "block")}}
             "Please add items to the query grid.")
-          (d/div {:id (vc-by-ad-result-chart-id query-idx)
+          (d/div {:id (vc-by-ad-and-sex-result-chart-id query-idx)
                   :style {:height (if (:result result) "250px" "0")}}))))))
 
 ;; ---- Query -----------------------------------------------------------------

        cols))))

(defn assoc-default-results [query]
  (assoc query :vc-by-se-result {} :vc-by-ad-result {}))

(defn prepare-queries [queries]
  (->> (map-indexed index-query queries)

          (d/div {:id (vc-by-se-result-chart-id query-idx)
                  :style {:height (if (:result result) "250px" "0")}}))))))

(defn vc-by-ad-and-sex-result-chart-id [query-idx]
  (str "visit-count-by-age-decade-result-chart-" query-idx))

(defcomponent visit-count-by-age-decade-result
