Fork me on GitHub
#data-science
<
2019-02-13
>
David Pham09:02:20

I think all the visualization projects around vega and vega-lite are exceptional, but may I ask what is the advantage over a simple wrapper around plotly or any other open source d3 wrappers? Moreover, is there a default data format for doing visualization other than a list of maps/records?

👍 5
jsa-aerial15:02:28

IMO, the main advantage (for Clojure or other functional language) is that Vega(-Lite) are pure data and so you can easily manipulate them with typical data transformations. Including storing them, and sending them to colleagues via any text based method. You don't need some special API. The other advantage over things like D3 is that they are considerably higher level (Vega-Lite in particular). It's worth noting that D3 comes from the same people - Interactive Data Lab at UWash.

👍 20
metasoarous17:02:28

Can't agree more with @jsa-aerial here. This entire "data-driven" approach is supremely Clojuric in philosophy. Also, worth keeping in mind that Vega/Vega-Lite do to some extent wrap d3 for a lot of their internal logic.

otfrom10:02:13

I think it depends on your opinion on grammar of graphics (and interaction) systems

otfrom10:02:34

if you like them, then vega(lite) is good. If you aren't fussed, then other systems (d3, http://thi.ng) exist

jsa-aerial15:02:28

IMO, the main advantage (for Clojure or other functional language) is that Vega(-Lite) are pure data and so you can easily manipulate them with typical data transformations. Including storing them, and sending them to colleagues via any text based method. You don't need some special API. The other advantage over things like D3 is that they are considerably higher level (Vega-Lite in particular). It's worth noting that D3 comes from the same people - Interactive Data Lab at UWash.

👍 20
metasoarous17:02:28

Can't agree more with @jsa-aerial here. This entire "data-driven" approach is supremely Clojuric in philosophy. Also, worth keeping in mind that Vega/Vega-Lite do to some extent wrap d3 for a lot of their internal logic.