I am creating a web app with charts. If one hovers (and clicks) on a chart, I want to display more information about that element below (i.e. outside of) that chart. Currently, I am using the following to highlight a specific bar in the chart.
single = alt.selection_single(on="click"
c = alt.Chart(df).mark_bar.encode(
...
).add_selection(single)
Can I further use the information which bar is being clicked on?