ithout displaying it. The next lines of code are to “reverse engineer” the polygon coordinates. Finally, we call <code><a href="https://shiny.rstudio.com/reference/shiny/latest/renderPlot.html">renderPlot()</a></code> to pass the plot to <code>output</code>.</p>
<p>Next, we define the tooltip with a <code><a href="https://shiny.rstudio.com/reference/shiny/latest/renderText.html">renderText()</a></code> expression. Within that expression, we first extract the cursor’s plot coordinates from the user inp