Description Usage Arguments Value Examples
This function takes an argument data containing the filtered data frame with earthquakes to visualize. The function maps the epicenters (LATITUDE/LONGITUDE) and annotates each point with in pop up window containing annotation data stored in a column of the data frame.
1 | eq_map(data_eq, annot_col)
|
data_eq |
Filtered dataframe of NOAA earthquakes dataset |
annot_col |
Column name from dataset used for the annotation in the pop-up |
leaflet MAP shown with a circle markers, and the radius of the circle marker is proportional to the earthquake's magnitude.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.