Image from base64 on hover for static plotly html (w/o Dash)

Modern browsers support base64 natively.
I was thus wondering if there is a simple way to statically embed images into a html file and display them instead of text when hovering over a point in a plotly plot. This should happen on the client side – I do not want to run a server for this.

Many thanks!

What you’re describing is the functionality of dcc.tooltip, don’t think there’s a way to add that to a Plotly plot without Dash.

I’ve only done something like this with maps using folium.