Scatter - tap to open url link

Hey,
Say one the columns in my dataframe is a URL link, is there a way to click on a point in a scatter plot to open that link?
Thanks

1 Like

Hi @sahar540 !

Ok so apparently bokeh has something like that built-in: JavaScript callbacks — Bokeh 2.4.2 Documentation

However it doesn’t seem to have been exposed by holoviews. holoviews is powerful and flexible enough though to get this done I think. I would look into this reference gallery example on the Selection1d tap: Selection1D Tap — HoloViews v1.14.7. Combined with the webbrowser module of the Python standard library I think you could build your app.