ggplot2 vs ggstatsplot
A data-driven comparison of two R data visualization packages: popularity, development activity, licensing and installation. Updated .
A plotting system based on the grammar of graphics.
Ggplot2-based plots with statistical test details included in the graphic.
Key differences
- ggplot2 has 3.2× as many GitHub stars as ggstatsplot (7K vs 2.2K).
- ggplot2 had more development activity over the last 12 months: 86 commits vs 84.
- ggplot2 is downloaded 370× as often on CRAN (471.1K vs 1.3K per week).
- Both are released under the MIT license.
- ggplot2 is the older project: its repository was created in 2008, ggstatsplot's in 2018.
By the numbers
- ggplot2
- ggstatsplot
Show data as a table
| Metric | ggplot2 | ggstatsplot |
|---|---|---|
| GitHub stars | 7,005 | 2,207 |
| CRAN downloads / week | 471,051 | 1,273 |
| Commits, last 12 months | 86 | 84 |
| Contributors | 354 | 11 |
| Forks | 2,125 | 200 |
Development activity
Commits per month to each default branch, last 12 complete months.
- ggplot2
- ggstatsplot
Show data as a table
| Month | ggplot2 | ggstatsplot |
|---|---|---|
| Oct 2025 | 29 | 1 |
| Nov 2025 | 12 | 5 |
| Dec 2025 | 20 | 6 |
| Jan 2026 | 1 | 1 |
| Feb 2026 | 4 | 2 |
| Mar 2026 | 2 | 2 |
| Apr 2026 | 4 | 47 |
| May 2026 | 0 | 1 |
| Jun 2026 | 0 | 0 |
| Jul 2026 | 0 | 2 |
| Aug 2026 | 0 | 14 |
| Sep 2026 | 14 | 3 |
Side by side
| Attribute | ggplot2 | ggstatsplot |
|---|---|---|
| Description | A plotting system based on the grammar of graphics. | Ggplot2-based plots with statistical test details included in the graphic. |
| Category | R data visualization packages | R data visualization packages |
| License | MIT | MIT |
| Language | R | R |
| Status | Active | Active |
| Latest release | v4.0.3 () | v1.1.1 () |
| Last commit | ||
| Repository created | ||
| Open issues | 76 | 0 |
| Install | install.packages("ggplot2") | install.packages("ggstatsplot") |
Which should you choose?
Popularity and activity are only part of the story. Consider which ecosystem you work in, the chart types and interactions you need, how much data you render, and whether the license fits your project. Both tool pages list alternatives if neither is quite right.
-
ggplot2
A plotting system based on the grammar of graphics.
-
ggstatsplot
Ggplot2-based plots with statistical test details included in the graphic.