Help with Vega-Lite Select for markGeoshape

Hello all!

Just working on some basic interactive cartography with the Vega-Lite API, but having some trouble with it. Here is a link to the notebook:

I am hoping to have the country highlight when the user mouses over it, which I am attempting to do by use .selectSingle() and .fill(), but I can’t seem to figure it out.

It seems as if the selection is always active, so I must be missing something. Any help is appreciated. Thank you!

1 Like