Open an Iframe when a point on a graph is clicked of hovered

My graph type is scattermapbox, and I want to display an Iframe when I chick or hover a point.
Is it posible to me or it can only display text data?