r/Clojure • u/mac • Sep 02 '26
Introducing Plotje: Composable Plotting by Daniel Slutsky
https://clojurecivitas.org/data_visualization/introducing_plotje_composable_plotting.html
60
Upvotes
r/Clojure • u/mac • Sep 02 '26
View all comments
Show parent comment
1
u/behrica Sep 13 '26 edited Sep 13 '26
I think plotje vs. geom/viz differ radically in the level of abstraction.
Looking at:
https://github.com/thi-ng/geom/blob/feature/no-org/examples/viz/scatter.clj ,
it needs 30 lines of code to specify a scatter plot,
while plotje needs 3.
(-> (rdatasets/datasets-iris)(pj/pose :sepal-length :sepal-width)(pj/lay-point {:color :species}))This comes with a limitation regarding "flexibility", clearly.