puted variables and their display format inside a custom string." width="100%" data-url="/interactives/hovertemplate.html" />
<p class="caption">
FIGURE 25.5: Using the <code>hovertemplate</code> attribute to reference computed variables and their display format inside a custom string.
</p>
</div>
<p>If you need really specific control over the tooltip, you might consider hiding the tooltip altogether (using <code>hoverinfo='none'</code>) and defining your own tooltip. Defining your own tooltip, however, wi