topright invites the user to click the top-right corner of the plotting area, and stores the x and y values (in plot units) as xstop and ystop. These values are used by data().
1 | topright()
|
a list with x and y page coordinates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.