Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork94
📍 Repel overlapping text labels away from each other in your ggplot2 figures.
License
slowkow/ggrepel
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
ggrepel provides geoms forggplot2 to repel overlapping text labels:
geom_text_repel()geom_label_repel()
Text labels repel away from each other, away from data points, and awayfrom edges of the plotting area.
library(ggrepel)ggplot(mtcars, aes(wt,mpg,label= rownames(mtcars)))+ geom_text_repel()+ geom_point(color='red')+ theme_classic(base_size=16)
# The easiest way to get ggrepel is to install it from CRAN:install.packages("ggrepel")# Or get the the development version from GitHub:# install.packages("devtools")devtools::install_github("slowkow/ggrepel")
See theexamples page to learn more about how to use ggrepel in your project.
Click one of the images below to go to see the code example:
Pleasesubmit an issue to report bugs or ask questions.
Please contribute bug fixes or new features with apull request to thisrepository.
About
📍 Repel overlapping text labels away from each other in your ggplot2 figures.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.























