I would really appreciate some exemples on how to display a filtered table (like printTables) from a vega lite brush selection.
Another exemple with an external map made with Leaflet. How to get the selection from vega-lite-v5 charts and filter items displayed on the map. Bijective direction would be nice as well : items displayed on the slippy maps are the only ones displayed in the vega-lite-v5 charts
Exemples with such features with cars.json are crudely missing.
I’ve prepared a small notebook featuring filtered plots built with vega-lite-api v5
.
I have a few open questions:
- How can I retrieve values from Vega-Lite brush selections, use them to filter data, and display the results in a
printTable
, in a Leaflet map ?
- How can I highlight the current
markPoint
with a stroke on mouse hover (in addition to displaying the tooltip)?
- Is there a way to implement same cross-filterings using the Plot library rather than vega-lite-api ?
Any insights would be greatly appreciated.