This geom is responsible for drawing the labels on the timeline. The number of labels are set using the n_max parameter. The function will retrieve the n_max number of highest magnitudes using the setup_data function and add the label to those earthquakes.
1 |
An object of class GeomTimeLineLabel
(inherits from Geom
, ggproto
) of length 6.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.