GIS-like interaction with shapefiles: zoom in ESRI shapefile plots, show or change attributes by clicking on them in a plot. Currently only works for Line-shapefiles.
to install on your computer, use:
if(!require(devtools)) install.packages("devtools")
devtools::install_github("brry/shapeInteractive")
library(shapeInteractive)
?shapeInteractive
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.