SciRuby / plotrb

A plotting library in Ruby built on top of Vega and D3.
Other
23 stars 6 forks source link

Replicate Vega's examples to using Plotrb (multiple tasks) #4

Open zuhao opened 10 years ago

zuhao commented 10 years ago

Vega has more than 20 examples in its online editor. You can see them at http://trifacta.github.io/vega/editor/. Simple select different visualisations from the drop-down menu on top, and you will be able to the the JSON spec and the actual image in action.

It would be great to replicate these examples in Plotrb.

A few have already been done here.

Each of the remaining example can become a GCI task. The examples are

dengemann commented 10 years ago

@zuhao it seems a few links and examples are broken ... http://bl.ocks.org/zuhao/6665043 remains blank and http://trifacta.github.io/vega/editor should probably point to http://trifacta.github.io/vega/

translunar commented 10 years ago

It might be good to break this into a task for each example. Each should take ~2 hours, accounting for bugs and such.

zuhao commented 10 years ago

@mohawkjohn Yes I was thinking about the same.

@dengemann Somehow the Choropleth is not properly shown, although the JSON spec is correct. I haven't figured out the reason. And I did mean http://trifacta.github.io/vega/editor, that's where Vega hosts all its examples. :-)

dengemann commented 10 years ago

And I did mean http://trifacta.github.io/vega/editor, that's where Vega hosts all its examples. :-)

@zuhao thanks for the elaboration. My point -- as a more or less random prototypical innocent visitor ;-) -- was rather that it's not clear what to do with the editor (took me 3 visits to figure out). I think there is 2 options. 1) add a comment on how to use the editor / priming the reader what expect. 2) point to website that shows more examples (what I expected after reading the text).

And btw. +1 for cloning all examples.

zuhao commented 10 years ago

@dengemann Good point! I've changed the issue description. Thanks a lot.