Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage with B2 #71

Open
saulshanabrook opened this issue Aug 19, 2020 · 1 comment
Open

Usage with B2 #71

saulshanabrook opened this issue Aug 19, 2020 · 1 comment

Comments

@saulshanabrook
Copy link
Contributor

It might be useful to try to see how to investigate the relationship of this project to b2, by @yifanwu.

It lets you interactively create cross filtering charts from a notebook that pulls from your kernel: https://github.com/yifanwu/b2#b2

It's at a slightly higher level than this project, and more constrained in the types of charts it produces. However, it has the advantage of being really easy to use! Not requiring any knowledge of Ibis or Pandas...

I think it would be a great complement to this project, to help with the data exploration step.

We chatted a bit about how they could possibly work together. One way could be this:

  1. Right now b2 produces many vega lite charts and manually synchronizes them. Instead we could have it synthesize one large vega lite chart with the crosfiltering and use ibis-vega-transform to do the execution of the queries. Yifan said this might be a bit complicated, because currently she is doing the the calculation from the crossfiltering in relational algebra to create SQL directly. And in this case, she would instead have to use it to create Vega Lite, or Vega, charts.
  2. We could provide a way to get access to the ibis expression that corresponds to the currently created crossfilter, allowing you to move between interaction and back to the notebook. Possibly also some way to serialize it in the notebook? So that it get's preserved when you reload?
  3. We could also create some sort of side UI in jupyterlab, or use an existing extension, to show you all datasets/tables that you have loaded, so you can operate more freely, not stuck to a cell.
@saulshanabrook
Copy link
Contributor Author

saulshanabrook commented Aug 24, 2020

I took some screenshots from our call of @yifanwu using B2:

Screen Shot 2020-08-12 at 2 23 16 PM

Screen Shot 2020-08-12 at 2 24 41 PM

Screen Shot 2020-08-12 at 2 27 12 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants