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

summary tables #1120

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from
Draft

summary tables #1120

wants to merge 21 commits into from

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Mar 20, 2024

just a prototype… there's still a lot to do

This works in user land, which makes it easy to hack on and also means that anyone will be able to substitute whatever we come up with with their own code.

I'm beginning to think that this (when it's ready) should be the default inspector for Arrow tables, and not only tied to the sql fenced code blocks. (I don't think anyone will miss the current inspector which shows a Ho object with cryptic properties—and if you need it to debug something, you can just put the Arrow table inside an Array.)

I don't use DuckDB (yet) but maybe it will become necessary when we add filtering. But there will be a trade-off because setting up a DuckDB instance can only be slower than not doing it. We'll see what's easiest and fastest.

I also use Plot for faster prototyping, but the actual implementation will likely use d3. We'll need some kind of preprocessing of the channels, so we don't compute the bins twice.

The bin width is also often too small. I'm "hacking" the rects so that they are always visible, but a better implementation will be needed… (and maybe that's a flaw in the default strategy we're using in Plot to decide the number of bins).

closes #23

@mbostock
Copy link
Member

default inspector for Arrow tables

Yes, I like this idea. 👍

@Fil
Copy link
Contributor Author

Fil commented May 21, 2024

TODO:

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

Successfully merging this pull request may close these issues.

Summary data table display
2 participants