theme_timeline: Theme for the timeline visualisation in ggplot2

Description Usage Examples

View source: R/geom_element.R

Description

Timeline visualisation

Usage

1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
data %>% eq_clean_data() %>%
filter(COUNTRY %in% c("GREECE", "ITALY"), YEAR > 2000) %>%
   ggplot(aes(x = DATE,
              y = COUNTRY,
              color = as.numeric(TOTAL_DEATHS),
              size = as.numeric(EQ_PRIMARY)
   )) +
   geom_timeline() +
   theme_timeline()

## End(Not run)

JimMeister/capstoneJH documentation built on Sept. 3, 2020, 10:50 a.m.