ll require knowledge of HTML and JavaScript ‚Äì see Figure <a href="supplying-custom-data.html#fig:tooltip-image">21.3</a> for an example of how to display an image on hover instead of a tooltip.</p>
</div>
<div id="tooltip-text-ggplotly" class="section level2">
<h2><span class="header-section-number">25.2</span> <code>ggplotly()</code> tooltips</h2>
<p></p>
<p>Similar to how you can use the <code>text</code> attribute to supply a custom string in <code>plot_ly()</code> (see Section <a href="controlling