Skip to content

Commit

Permalink
walkthrough - WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
daslu committed Jun 20, 2024
1 parent db67f4b commit 068902e
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions notebooks/hanacloth/walkthrough.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
[aerial.hanami.templates :as ht]
[aerial.hanami.common :as hc]
[tablecloth.api :as tc]
[tablecloth.column.api :as tcc]))
[tablecloth.column.api :as tcc]
[scicloj.kindly.v4.kind :as kind]))

(-> (toydata/iris-ds)
(hana/base ht/point-chart
Expand Down Expand Up @@ -118,28 +119,10 @@
:petal_length]}))


;; (def random-walk
;; (let [n 20]
;; (-> {:x (range n)
;; :y (->> (repeatedly n #(- (rand) 0.5))
;; (reductions +))}
;; tc/dataset)))

;; (-> random-walk
;; (hana/plot ht/point-chart
;; {:MSIZE 200}))

;; (-> random-walk
;; (hana/plot ht/point-chart
;; {:MSIZE 200})
;; kind/pprint)


;; (-> toydata.ggplot/mtcars
;; (hana/plot ht/boxplot-chart
;; {:X :gear
;; :XTYPE :nominal
;; :Y :mpg}))
(-> toydata.ggplot/mpg
(hana/plot hana/boxplot-chart
#:hana{:x :cyl
:y :displ}))

;; (-> (toydata/iris-is)
;; (hana/plot ht/rule-chart
Expand Down

0 comments on commit 068902e

Please sign in to comment.