ggplot2
A plotting system based on the grammar of graphics.
- Active
- MIT
- R
- R data visualization packages
- GitHub stars
- 7K#91 in the directory
- CRAN downloads / week
- 471.1K
- Commits, last 12 months
- 86
- Contributors
- 354
- Last commit
- Latest release
- v4.0.3Apr 22, 2026
Overview
ggplot2 is an open-source R visualization package released under the MIT license. Its GitHub repository has 7,005 stars, 2,125 forks, and 354 contributors. It is actively developed with 86 commits in the last 12 months. The latest release, v4.0.3, was published on Apr 22, 2026. On CRAN it is downloaded about 471.1K times per week.
Its GitHub description: An implementation of the Grammar of Graphics in R
GitHub topics: rvisualisationdata-visualisation
Install
Development activity
Commits per month to the default branch over the last 12 complete months.
Show data as a table
| Month | Commits |
|---|---|
| Oct 2025 | 29 |
| Nov 2025 | 12 |
| Dec 2025 | 20 |
| Jan 2026 | 1 |
| Feb 2026 | 4 |
| Mar 2026 | 2 |
| Apr 2026 | 4 |
| May 2026 | 0 |
| Jun 2026 | 0 |
| Jul 2026 | 0 |
| Aug 2026 | 0 |
| Sep 2026 | 14 |
Popularity among R data visualization packages
Show data as a table
| Tool | Stars |
|---|---|
| ggplot2 | 7,005 |
| Shiny | 5,694 |
| plotly (R) | 2,682 |
| patchwork | 2,615 |
| ggstatsplot | 2,207 |
| rayshader | 2,182 |
| gt | 2,161 |
Alternatives to ggplot2
-
Shiny
Framework for creating interactive applications/visualisations
-
plotly (R)
Interactive charts (including adding interactivity to ggplot2 output), cartograms and simple network diagrams
-
patchwork
Composes multiple ggplot2 plots into a single figure.
-
ggstatsplot
Ggplot2-based plots with statistical test details included in the graphic.
-
rayshader
2D and 3D mapping and data visualization in R, including 3D renders of ggplot2 plots.
-
gt
Builds publication-quality display tables in R.
More comparisons: ggplot2 vs Shiny · ggplot2 vs plotly (R) · ggplot2 vs patchwork · ggplot2 vs ggstatsplot · ggplot2 vs Matplotlib · ggplot2 vs plotnine
ggplot2 FAQ
Is ggplot2 open source?
Is ggplot2 still maintained?
How do I install ggplot2?
install.packages("ggplot2").What are the best alternatives to ggplot2?
What language is ggplot2 written in?
Data: GitHub API, CRAN. Updated Oct 4, 2026.