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. The user should be
able to choose which column is used for the annotation in the pop-up with
a function argument named annot_col
. Each earthquake should be shown with
a circle, and the radius of the circle should be proportional to the
earthquake's magnitude (EQ_PRIMARY
).
1 |
data |
A data frame of the clean data |
annot_col |
A character string of a column name of the |
cluster |
A logical flag (deafult FALSE). If TRUE, ClusterOPtion is used. |
Visualization of earthquakes in space annotating each point with in pop up window
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.