Fork me on GitHub
#data-science
<
2017-10-10
>
hswick01:10:03

@elise_huard @jsa-aerial I have created a clojure library for using plotly https://github.com/hswick/jutsu it can do interactive 2D and 3D graphs that work in the browser. It starts up its own server, so theoretically it could work with any other system.

jsa-aerial14:10:20

Yes, I knew about this, but I've never much liked plotly - always seemed closed, cumbersome, and more process/api oriented. VL is totally data driven and really, you don't need any api to use it. Just clj/cljs maps. The only thing you need is access to browser. If you are in cljs, you have that automatically. If you are in clj, you just need a simple client/server wiring to send the maps over (where the VL compiler does all the rest).

hswick04:10:25

@jsa-aerial That sounds literally like my library lol

sb03:10:24

In Clojure/script (reframe/reagent) you could use D3/NVD3 or GoogleChart, Highcharts. I didn't create library from this, but I used.

sb04:10:50

If that is fix app thing, maybe good idea.. create in Sketch.. export SVG and use in Clojure (change params). With that you can create full custom "charts"

elise_huard08:10:21

@hswick cool, thank you. Ideally I would look for something that works with gorilla-repl (as in spits out svg)

elise_huard08:10:55

unless someone can recommend a good clojure notebook alternative

jsa-aerial14:10:20

Yes, I knew about this, but I've never much liked plotly - always seemed closed, cumbersome, and more process/api oriented. VL is totally data driven and really, you don't need any api to use it. Just clj/cljs maps. The only thing you need is access to browser. If you are in cljs, you have that automatically. If you are in clj, you just need a simple client/server wiring to send the maps over (where the VL compiler does all the rest).

jsa-aerial14:10:56

@elise_huard having hacked gorilla graphics, I can say that VL would work with gorilla. It can use canvas or svg (user switchable). OTOH, that (canvas or svg) is not all that relevant. One very big win for VL in context of gorilla (or probably any such thing) is the selection ability to pan and zoom graphics. Being confined to a limited screen section (like gorilla sections) this is a real winner.