Key differences

  • ggplot2 has 1.2× as many GitHub stars as Shiny (7K vs 5.7K).
  • ggplot2 had more development activity over the last 12 months: 86 commits vs 63.
  • ggplot2 is downloaded 2.4× as often on CRAN (471.1K vs 192.4K per week).
  • Both are released under the MIT license.
  • ggplot2 is the older project: its repository was created in 2008, Shiny's in 2012.

By the numbers

  • ggplot2
  • Shiny
GitHub stars
7K 5.7K
CRAN downloads / week
471.1K 192.4K
Commits, last 12 months
86 63
Contributors
354 92
Forks
2.1K 1.9K
Show data as a table
ggplot2 vs Shiny by the numbers
Metricggplot2Shiny
GitHub stars7,0055,694
CRAN downloads / week471,051192,447
Commits, last 12 months8663
Contributors35492
Forks2,1251,891

Development activity

Commits per month to each default branch, last 12 complete months.

  • ggplot2
  • Shiny
0102030 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sepggplot2Shiny
0102030 Oct 2025 Jan 2026 Apr Jul ggplot2Shiny
Show data as a table
ggplot2 vs Shiny: commits per month
Monthggplot2Shiny
Oct 2025295
Nov 2025124
Dec 20252013
Jan 202613
Feb 202647
Mar 202620
Apr 202645
May 202609
Jun 202606
Jul 202606
Aug 202605
Sep 2026140

Side by side

Attributeggplot2Shiny
DescriptionA plotting system based on the grammar of graphics.Framework for creating interactive applications/visualisations
CategoryR data visualization packagesR data visualization packages
LicenseMITMIT
LanguageRR
StatusActiveActive
Latest releasev4.0.3 ()v1.14.0 ()
Last commit
Repository created
Open issues76796
Install
install.packages("ggplot2")
install.packages("shiny")
npm install @posit/shiny

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.

    7K starsRMIT

  • Shiny

    Framework for creating interactive applications/visualisations

    5.7K starsRMIT

More comparisons