theme_timeline: Theme for better timeline visualization in ggplot2

Description Usage Examples

View source: R/geom.R

Description

This is a simple theme that makes geom_timeline look better.

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)

Nilesh1978/eqv documentation built on May 25, 2019, 1:20 p.m.