This function takes a dataframe (df) and returns a character vector of HTML column names. Note that the dataframe must have columns CLEAN_LOCATION_NAME, EQ_PRIMARY and DEATHS.
The dataframe that we'll be using to create our annotation column.
Returns a character vector of earthquake details that we can use for map annotations.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.