Skip to content

Commit

Permalink
Minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
keithmcnulty committed Oct 23, 2019
1 parent 6677390 commit 1a5e3cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rosling.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ wbstats::wb(indicator = c("SP.DYN.LE00.IN", "NY.GDP.PCAP.CD", "SP.POP.TOTL"),
y = "Life expectancy at birth") +
ggplot2::theme_classic() +
ggplot2::geom_text(aes(x = 7.5, y = 60, label = date), size = 14, color = 'lightgrey', family = 'Oswald') +
gganimate::transition_states(date,
transition_length = 1, state_length = 1) +
gganimate::transition_states(date, transition_length = 1, state_length = 1) +
gganimate::ease_aes('cubic-in-out')


0 comments on commit 1a5e3cd

Please sign in to comment.