Fork me on GitHub
#data-science
<
2020-08-17
>
Daniel Slutsky06:08:27

Might be useful to know: Hanami offers a neat way of writing Vega and Vega-Lite specs succinctly, avoiding boilerplate through templates. https://github.com/jsa-aerial/hanami#simple-cars This templating method is just about pure data transformations, and thus it plays well with any library that knows how to render Vega and Vega-Lite: Oz, Darkstar, Pink-Gorilla, etc.

👍 6
phronmophobic16:08:08

do any of the libraries render the vega* specifications themselves or do they all shell out to vega* libraries under the hood?

metasoarous16:08:41

None of them render vega themselves, all calling out to vega (either via browser, or via the vega-cli).

metasoarous16:08:09

I think I remember talk of cljplot implementing a more declarative api along the lines of vega, but I don't know what's come of that

Daniel Slutsky17:08:38

@U7RJTCH6J Indeed all these libraries call out to Vega*, but Darkstar by @U07SQTAEM at least does it on the JVM itself, without needing a separate runtime. https://github.com/applied-science/darkstar It does raise some issues too, as discussed in this conversation: https://clojurians.zulipchat.com/#narrow/stream/151924-data-science/topic/rendering.20charts.20in.20notespace/near/193422315

👀 3
phronmophobic17:08:12

very interesting. thanks for the pointer!