Fork me on GitHub
#data-science
<
2015-11-09
>
aaelony17:11:36

hi @dtsao, gyptis looks really cool! looks great.

dtsao17:11:13

hi @aaelony. thanks for checking it out!

aaelony17:11:02

@dtsao, it looks really nice.

aaelony17:11:26

A few thoughts... is there a way to parse full vega json specs? That would help it integrate with the vega-lite project (https://github.com/vega/vega-lite) and the vega examples as well

dtsao17:11:47

To be honest, parsing full vega json specs wasn't really a design consideration when I was making the 0.1.0 version.

dtsao17:11:16

But, tt's so early days that I'm receptive to adding in support for parsing vega specs 😃

aaelony17:11:29

understood, awesome work

aaelony17:11:09

I really like the idea of having a data structure that you manipulate in Clojure and have vega parse...

aaelony17:11:23

to produce the vega image

aaelony17:11:06

but to be honest, I don't understand enough about the complexities involved to make it happen

dtsao17:11:17

Currently, you should be able to call vega.view/plot! on vega specs as long as it doesn't call in datasets by a URL that will violate the browser's cross origin request secruity

aaelony17:11:48

very cool, I will look into that

dtsao17:11:37

I'll post some examples here...

aaelony17:11:32

thanks for your work on this simple_smile

dtsao17:11:18

It's been a lot of fun to make 😃

dtsao18:11:28

oh, and getting clojure and vega parse to play with each other was reasonably straightforward: Gyptis creates a websocket connection to a browser tab; that browser is running cljs and renders every vega-spec that comes down the wire into a div.

dtsao18:11:08

Ok I've got a very rudimentary example of pulling in an existing vega spec and then plotting it from Gyptis:

aaelony19:11:10

that is truly awesome!

aaelony19:11:27

you should let the cljs forum know, very cool

dtsao20:11:54

thanks! I'll do that