e corresponding argument to <code><a href="https://shiny.rstudio.com/reference/shiny/latest/plotOutput.html">plotOutput()</a></code> is <code>click = clickOpts(id = "plot_click")</code>. This will return the location of the mouse cursor in plot coordinates when the user clicks somewhere within the plot panel.</p>
</div>
<div id="server-function" class="section level3">
<h3 class="hasAnchor">
<a href="#server-function" class="anchor"></a>Server function</h3>
<p>The server function is more complex. Its genera