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.