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

Feature request: tooltip on individual points on a box plot #117

Open
mujahidfa opened this issue Apr 29, 2024 · 2 comments
Open

Feature request: tooltip on individual points on a box plot #117

mujahidfa opened this issue Apr 29, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@mujahidfa
Copy link

This is a very handy library, thank you @sgratzl!

Feature request: It would be great if we can allow for tooltips in all individual points in the box plot and not only for the outlier.

User story

I would like to add further information on the individual points that are displayed via tooltip when user hovers over the specific points. So when user hovers over a point, it will know further custom context about how the point was introduced in the boxplot, and that information ideally will be displayed via a tooltip, triggered on point hover.

However, as of now, it is only possible to trigger a tooltip on hover on the outlier point only (based on #30).

image

Considering that it is already possible to trigger a tooltip on the outlier point, what would it take (implementation-wise on the library, not user-side) for you to enable tooltips on all individual points and not just on the outlier point? Is this something that you think is possible to further implement in this library? This would be very handy and make this library a lot more useful that can cover more use cases for boxplot visualization.

Thank you!

@mujahidfa mujahidfa added the enhancement New feature or request label Apr 29, 2024
@sgratzl
Copy link
Owner

sgratzl commented Apr 30, 2024

it might be possible but it won't scale. boxplots are designed to summarize large quantity of data points. Outliers are only a fraction of that that's why is still performant

@mujahidfa
Copy link
Author

it might be possible but it won't scale. boxplots are designed to summarize large quantity of data points. Outliers are only a fraction of that that's why is still performant

I see. Could we then make it optional, as in it is enabled only when the user decides to enable it? That way it doesn’t affect non-users of the feature while still allowing users the flexibility to opt-in if they choose to.

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

2 participants