Custom Tooltip with Breakdowns in Vegalite charts #9699
VikrantRamesh
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to create a custom tooltip with all the grouped fields listed in a single tooltip panel.
Consider this example: daily_total_login with a group by on department will have the following tooltip structure:
Here is an example of another charting tool implement this:

What I have tried:
I have tried pivoting with the breakdown field and then plotting a tooltip, which works if we know the unique combinations after grouping. But I am not sure how this will scale to multiple fields plotted at the same time.
Vega Code: Vega Editor Link
Solution Required:
A more elegant approach to achieve this so that it could be easily scaled to multiple fields and Group By (with sorting options)
Beta Was this translation helpful? Give feedback.
All reactions