jupyter-xeus / xeus-sqlite

Jupyter kernel for SQLite
BSD 3-Clause "New" or "Revised" License
165 stars 25 forks source link

Add Vega examples to docs #123

Closed bbkane closed 2 years ago

bbkane commented 2 years ago

Hello,

I'm new to Vega and xeus, so I went to the docs to look for examples of creating charts, like how to make a line chart, histogram, etc. I didn't see any. Would someone more familiar with the project mind adding some or pointing me to any I missed?

marimeireles commented 2 years ago

Hi @bbkane, sorry I missed this. Currently our docs aren't really covering that, but you can check this binder link that should give you an idea on what's possible. Additional docs can be found in the vega website.

If you have the time and the interest of contributing docs for these graphs it'd be amazing!

Any other questions you might have, I'm around to answer :)

bbkane commented 2 years ago

Hello,

Maybe this is the wrong link? There's no charts in this binder:

[image: image.png]

If you can update this binder to have some basic charts (maybe a line chart or scatter chart or histogram), I'll do my best to get a PR adding those as examples with screenshots to the docs.

On Thu, Apr 7, 2022 at 11:48 AM Mariana Meireles @.***> wrote:

Hi @bbkane https://github.com/bbkane, sorry I missed this. Currently our docs aren't really covering that, but you can check this binder https://mybinder.org/v2/gh/jupyter-xeus/xeus-sqlite/stable?filepath=examples/Simple%20operations.ipynb link that should give you an idea on what's possible. Additional docs can be found in the vega https://vega.github.io/vega-lite/docs/ website.

If you have the time and the interest of contributing docs for these graphs it'd be amazing!

Any other questions you might have, I'm around to answer :)

— Reply to this email directly, view it on GitHub https://github.com/jupyter-xeus/xeus-sqlite/issues/123#issuecomment-1092087160, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOMUPNOBDADCLIL74VD2OLVD4UXBANCNFSM5SJZJFQA . You are receiving this because you were mentioned.Message ID: @.***>

--

Ben Kane

marimeireles commented 2 years ago

Oops! Sorry about that, you're right. So this is where you'll find examples on what commands to use to render the graphs, there are two possibilities:

  1. use the xvega language that I developed and it's incomplete
  2. use the json variant that's documented in xvega-lite website If you check this binder link you'll find an example for 1 here and 2 here.
bbkane commented 2 years ago

Neither of those links open:

image

No worries; have a great day.