# tidyverse/ggplot2

An implementation of the Grammar of Graphics in R

Repository: https://github.com/tidyverse/ggplot2
Canonical: https://ross.abutalabs.com/products/ggplot2
Homepage: https://ggplot2.tidyverse.org
Language: R
License: NOASSERTION
License Family: other
Topics: r, visualisation, data-visualisation
Last push: 2026-04-22T12:15:25+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 78, release rhythm 68, longevity 100
- inputs: {"age_days": 6675, "days_push": 133, "days_rel": 133, "gap_med": 79.0, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6986, forks 2128 (observed 2026-08-28T04:09:51.903670+00:00)

## What it is
ggplot2 is an R package implementing the Grammar of Graphics for declaratively creating data visualizations. Users map data variables to aesthetics and layer graphical primitives, scales, facets, and coordinate systems to build plots.

## Use cases
- create scatter plots and histograms from data frames in R
- make publication-quality statistical graphics
- build faceted plots split by categorical variables
- customize legends, axes, colors, and themes in plots
- reorder bars in bar charts by value
- annotate plots with text and reference lines

## When to choose
- you work in R and need flexible, declarative data visualization
- you want a mature, widely-documented plotting system with a large extension ecosystem
- you need consistent grammar-based plots across many chart types

## When to avoid
- you need interactive or web-based visualizations rather than static graphics
- you are not working in R
- you want cutting-edge novel visualization features rather than a stable system

## Facets
- artifact type: library
- maturity: stable
- function: data-visualization, charts
- domain: data-visualization, data-science
- platform: cross-platform
- tags: grammar-of-graphics, tidyverse, plotting, r-package, statistical-graphics, r

## Member repositories
- tidyverse/ggplot2 (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:51.903670+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:41:08.236283+00:00, confidence not recorded.
  - readme: https://github.com/tidyverse/ggplot2 (fetched 2026-08-28T04:09:51.903670+00:00, sha 994fbaefc250)
  - homepage: https://ggplot2.tidyverse.org (fetched 2026-08-29T08:36:54.354976+00:00, sha 4a9437c9758a)
  - site_page: https://ggplot2.tidyverse.org/news/index.html (fetched 2026-08-29T08:36:54.357911+00:00, sha 89a0c069576b)
  - site_page: https://ggplot2.tidyverse.org/articles/faq-axes.html (fetched 2026-08-29T08:36:54.364055+00:00, sha 22d9794622d9)
  - site_page: https://ggplot2.tidyverse.org/articles/faq-faceting.html (fetched 2026-08-29T08:36:54.366520+00:00, sha da7fcd95c953)
  - site_page: https://ggplot2.tidyverse.org/articles/faq-customising.html (fetched 2026-08-29T08:36:54.368375+00:00, sha db22c0eadf28)
  - site_page: https://ggplot2.tidyverse.org/articles/faq-annotation.html (fetched 2026-08-29T08:36:54.370278+00:00, sha 3559c146ee1e)
  - site_page: https://ggplot2.tidyverse.org/articles/faq-reordering.html (fetched 2026-08-29T08:36:54.371879+00:00, sha 73ac8a01383b)
  - site_page: https://ggplot2.tidyverse.org/articles/faq-bars.html (fetched 2026-08-29T08:36:54.373566+00:00, sha 2634ee7d2b5a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
