Drill-downs in Vega-Altair #3407
Unanswered
ShafeekaNisthar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Everyone!
I've been trying to create a drill-down visual using Vega-Altair(at least a single level drill down).
I've tried to do so by layering 2 charts, with one on top of another and making the datapoints transparent and appear on click. This has been somewhat counter-intuitive since for bar-charts, the axis for chart 2 is already visible and if i add a tooltip and hover over an empty space, i can still see the data point details. Moreover, i haven't been able to directly say since "Asia" bar is clicked on, transform and show me the details for countries within "Asia", i can merely associate the click to highlight or isolate a given bar, not necessarily drilling down in that case.
some of the code(Please note that i am still a beginner and may have made a few errors), I've attempted is below;
I would appreciate a response, maybe even a direction to look into.
Thank you & Best Regards
Beta Was this translation helpful? Give feedback.
All reactions