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: 72 commits vs 64.
  • ggplot2 is downloaded 2.3× as often on CRAN (494.7K vs 211.2K 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
494.7K 211.2K
Commits, last 12 months
72 64
Contributors
355 93
Forks
2.1K 1.9K
Show data as a table
ggplot2 vs Shiny by the numbers
Metricggplot2Shiny
GitHub stars7,0295,705
CRAN downloads / week494,711211,207
Commits, last 12 months7264
Contributors35593
Forks2,1251,892

Development activity

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

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

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.4 ()v1.14.0 ()
Last commit
Repository created
Open issues81799
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