This is the setup required for creating a new geom class. This GeomTimeLine inherits from a top level class called Geom.It creates a geom that draws the timeline for a specified date interval and put points on it for each earthquake.
1 |
An object of class GeomTimeLine
(inherits from Geom
, ggproto
, gg
) of length 6.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.