plotrb icon indicating copy to clipboard operation
plotrb copied to clipboard

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

Open zuhao opened this issue 12 years ago • 5 comments

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

  • choropleth
  • grouped_bar
  • error
  • force
  • image
  • jobs
  • lifelines
  • map
  • napoleon
  • parallel_coords
  • population
  • scatter
  • scatter_matrix
  • stacked_area
  • stacked_bar
  • stocks
  • treemap
  • weather
  • wordcloud

zuhao avatar Oct 24 '13 05:10 zuhao

@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/

dengemann avatar Oct 24 '13 12:10 dengemann

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

translunar avatar Oct 24 '13 18:10 translunar

@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. :-)

zuhao avatar Oct 24 '13 19:10 zuhao

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.

dengemann avatar Oct 24 '13 19:10 dengemann

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

zuhao avatar Oct 25 '13 15:10 zuhao