Function draws an earthquake timeline using a dataframe cleaned with eq_clean_data. This function is used by geom_timeline rather than called directly. In the interest of citing one's sources, most of the point implementation is recycling code from ggplot2's geom_point. aes values are x (intended use:date), y, size, and colour. Other aes are available, but the user shouldn't change defaults. They're only there becasue hard-coding them in resulted in errors.
1 |
An object of class GeomTimeline
(inherits from Geom
, ggproto
) of length 5.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.