ggplot2 now has an official extension mechanism. This means that others can now easily create their own stats, geoms and positions, and provide them in other packages. This should allow the ggplot2 community to flourish, even as less development work happens in ggplot2 itself. This page showcases these extensions.


Some extra geoms, scales, and themes for ggplot

# Example from

p2 <- ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(gear))) +
  geom_point() +

# Economist theme
# A theme that approximates the style of plots in The Economist magazine.
p2 + theme_economist() + scale_colour_economist() 

# Stata theme
# Themes and scales based on the graph schemes in Stata.
p2 + theme_stata() + scale_colour_stata()

# Fivethirtyeight theme
# Theme and color palette based on the plots at
p2 + geom_smooth(method = "lm", se = FALSE) +
  scale_color_fivethirtyeight("cyl") +

# Tableau Scales
# Color, fill, and shape scales based on those used in the Tableau software.
p2 + theme_igray() + scale_colour_tableau()