Creates a html string for a more representative label.
a dataframe containing NOAA details
put together a character string for each earthquake that shows the cleaned location (as cleaned by the
the magnitude (EQ_PRIMARY), and the total number of deaths (TOTAL_DEATHS), with boldface labels for each ("Location","Total deaths",
and "Magnitude"). If an earthquake is missing values for any of these, both the label and the value are skipped for that element of the tag.
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.