Skip to content

Commit 84fbe25

Browse files
committed
aog wip
1 parent 703538c commit 84fbe25

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

src/data_visualization/aog_in_clojure_part1.clj

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4253,8 +4253,9 @@ iris
42534253

42544254
;; ## 📖 The Power of Backend Agnosticism
42554255
;;
4256-
;; **Key insight**: Our flat map representation with `:=...` keys creates a
4257-
;; separation between plot semantics and rendering implementation.
4256+
;; **Key insight**: The flat map structure with `:=...` keys (explained in
4257+
;; [Design Exploration](#design-exploration)) creates a clean separation between
4258+
;; plot semantics and rendering implementation.
42584259
;;
42594260
;; **What we control** (across all targets):
42604261
;; - Statistical transforms (regression, histogram)
@@ -4819,7 +4820,7 @@ iris
48194820
;; This notebook demonstrates a composable graphics API with **minimal delegation**:
48204821
;;
48214822
;; **Core Design**:
4822-
;; - Layers as flat maps with `:=...` distinctive keys
4823+
;; - Layers as flat maps with `:=...` distinctive keys (see [Design Exploration](#design-exploration))
48234824
;; - Composition using `*` (merge) and `+` (overlay)
48244825
;; - Standard library operations work natively
48254826
;; - Backend-agnostic IR
@@ -4838,9 +4839,9 @@ iris
48384839

48394840
;; So that's the exploration. We set out to see if AlgebraOfGraphics.jl's compositional
48404841
;; approach could work in Clojure using plain maps and standard operations. The flat
4841-
;; structure with distinctive `:=` keys turned out pretty well—standard `merge` just works,
4842-
;; everything stays inspectable, and the threading macros feel natural. Getting type
4843-
;; information from Tablecloth for free was a nice bonus that eliminated a lot of
4842+
;; structure with distinctive `:=` keys (detailed earlier) turned out well—standard `merge`
4843+
;; just works, everything stays inspectable, and the threading macros feel natural. Getting
4844+
;; type information from Tablecloth for free was a nice bonus that eliminated a lot of
48444845
;; complexity.
48454846

48464847
;; The minimal delegation strategy (we compute transforms, rendering targets handle

0 commit comments

Comments
 (0)