 
 
 (defn ^:cljs transform-to-center!
-  "Scales and centers $svg-el within its parent SVG container.
+  "Scales and centers `$svg-el` within its parent SVG container.
    Uses parent's width and height attributes only."
   [$svg-el]
   (let [$svg (.-ownerSVGElement $svg-el)



(defn axis
  "Returns axis <g> for input scale with ticks.
Direction away from the data frame is defined to be positive; use negative margins and widths for the axis to render inside of the data frame"
  [scale ticks & {:keys [orientation
                         formatter
                         major-tick-width

     :height (.-height b)}))

(defn transform-to-center
  "Returns a transform string that will scale and center provided element `{:width :height :x :y}` within container `{:width :height}`."
  [element container]
  (let [{ew :width eh :height x :x y :y} element
        {w :width h :height} container
