-tooltips.html#tooltip-text">25.1</a>), you can supply a <code>text</code> aesthetic to your <strong>ggplot2</strong> graph, as shown in <a href="controlling-tooltips.html#fig:ggplotly-text">25.6</a>:</p>
<div class="sourceCode" id="cb216"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb216-1"><a href="controlling-tooltips.html#cb216-1"></a>p &lt;-<span class="st"> </span><span class="kw">ggplot</span>(mtcars, <span class="kw">aes</span>(wt, mpg, <span class="dt">text =</span> <span class="