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

Automatic summary table display for tabular data? #52

Closed
mbostock opened this issue Oct 23, 2023 · 5 comments
Closed

Automatic summary table display for tabular data? #52

mbostock opened this issue Oct 23, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@mbostock
Copy link
Member

Related to custom inspectors #51, we could automatically detect tabular data and give a better default display using the summary table #23.

@mbostock mbostock added the enhancement New feature or request label Oct 23, 2023
@mootari
Copy link
Member

mootari commented Oct 23, 2023

Could it alternatively become a "display mode" option on the display() helper?

@mbostock
Copy link
Member Author

Like display(data, "table")? Yeah maybe. I also thought about inspect(data) as a way to opt-out of the automatically-inferred display mode.

@mbostock mbostock added this to the Future milestone Nov 13, 2023
@mbostock
Copy link
Member Author

mbostock commented Mar 7, 2024

SQL cells use Inputs.table. But it would be nice to have column summaries.

@Fil
Copy link
Contributor

Fil commented Mar 7, 2024

SQL cells have the added benefit that we can use the SQL engine to create the histograms (and other summaries), and (later) the filtering.

@mbostock
Copy link
Member Author

mbostock commented Mar 8, 2024

Given that was have SQL cells using Inputs.table, I think this issue is basically covered by #23 — we’ll switch SQL cells to use that when it’s ready, and we’d have a programmatic way of getting the same display from JavaScript if desired. But I don’t think we’ll do “automatic display modes” where we change the behavior of the default inspector.

@mbostock mbostock closed this as not planned Won't fix, can't repro, duplicate, stale Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants