Make ggplot interactive
Horizontal versions of ggplot2 geoms
Extra coordinate systems, geoms & stats
Accelarating ggplot2
Repel overlapping text labels
Plot graph-like data structures
Miscellaneous extensions to ggplot2
Network visualizations in ggplot2
Marginal density plots or histograms
Create easy animations with ggplot2
Interactive ROC plots
ggplot themes and scales
Extensions for radiation spectra
Geoms to plot networks with ggplot2
ggplot2 tech themes, scales, and geoms
radar charts with ggplot2
Time series visualisations
A phylogenetic tree viewer
Seasonal adjustment on the fly
https://github.com/slowkow/ggrepel
Repel overlapping text labels away from each other.
# Example from https://github.com/slowkow/ggrepel
library(ggplot2)
library(ggrepel)
## We can repel the text labels away from each other by loading ggrepel and using geom_text_repel instead:
set.seed(42)
dat <- mtcars[1:8,]
ggplot(dat) +
geom_point(aes(wt, mpg), color = 'red') +
geom_text_repel(aes(wt, mpg, label = rownames(dat))) +
theme_classic(base_size = 16)
#geom_label_repel is based on geom_label.
set.seed(42)
ggplot(dat) +
geom_point(aes(wt, mpg)) +
geom_label_repel(
aes(wt, mpg, fill = factor(cyl), label = rownames(dat)),
fontface = 'bold', color = 'white',
box.padding = unit(0.25, "lines")
) +
theme_classic(base_size = 16)