The earthquake package provides data cleaning, timeline plotting, and leaflet plotting for NOAA earthquake datasets.
You can install the package from my github via devtools.
library(devtools)
devtools::install_github("kjsykora/earthquake")
The package includes a vignette that teaches how to use the contained functions.
vignette("earthquake")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.