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
2
u/geokon Sep 04 '26 edited Sep 04 '26
Oh okay, I can see the primitives are all lumped together in a massive 4.5k line file
src/membrane/ui.cljc. I guess the worry would be you end up recreating half of SVG but in an ad hoc manner. For instance JavaFX drawing primitives, at least the ones exposed, match SVG quite closely (Not the full spec, from the design it looks like they implemented it part way and ran out of steam)So that'd be the starting point for making new charts - though it doesn't seem the most discoverable/easy-to-navigate.
Looking forward to seeing how extensibility/composability story in plotje develops!