(require '[reagent.core :as r])

[:div
  [:svg {:style {:border "1px solid"
                 :background "white"
                 :width "200px"
                 :height "200px"}}
   (for [x (range 20) y (range 20)] 
     [:rect {:width  10
             :height 10
             :x (-> x (* 10) (+ 0))
             :y (-> y (* 10) (+ 0))
             :fill (str "rgb(" (rand-int 255) ",0,0)")}])]
 ]