# thomasp85/patchwork

The Composer of ggplots

Repository: https://github.com/thomasp85/patchwork
Canonical: https://ross.abutalabs.com/products/thomasp85-patchwork
Homepage: https://patchwork.data-imaginist.com
Language: R
License: NOASSERTION
License Family: other
Topics: rstats, ggplot2, visualization, ggplot-extension
Last push: 2025-08-25T10:11:42+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 38, release rhythm 20, longevity 100
- inputs: {"age_days": 3200, "days_push": 373, "days_rel": 373, "gap_med": 171.0, "n_releases_24m": 3}
- 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 2612, forks 171 (observed 2026-08-28T04:07:04.477134+00:00)

## What it is
patchwork is an R library for combining multiple ggplot2 plots into a single graphic using simple arithmetic operators. It supports arbitrarily complex layouts with full axis alignment, annotation, and multipage output.

## Use cases
- combine multiple ggplot2 plots into one figure
- arrange plots in a grid layout in R
- align axes across subplots in ggplot
- create multipage plot layouts in R
- add shared titles and annotations to combined plots

## When to choose
- you use ggplot2 and need to compose several plots into one graphic
- you need precise axis alignment across subplots
- you want a simple, expressive API for complex plot layouts

## When to avoid
- you work outside R or don't use ggplot2
- you need to arrange base R or non-ggplot graphics (though limited wrapping exists)
- you need interactive or web-based visualization

## Facets
- artifact type: library
- maturity: active
- function: data-visualization, charts
- domain: data-visualization, data-science
- platform: cross-platform
- tags: ggplot2, plot-composition, layout, rstats, graphics, r

## Member repositories
- thomasp85/patchwork (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:04.477134+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-30T02:20:41.230152+00:00, confidence not recorded.
  - readme: https://github.com/thomasp85/patchwork (fetched 2026-08-28T04:07:04.477134+00:00, sha 13bcb5517f6a)
  - homepage: https://patchwork.data-imaginist.com (fetched 2026-08-29T10:03:31.010676+00:00, sha 0941a642f498)
  - site_page: https://patchwork.data-imaginist.com/news/index.html (fetched 2026-08-29T10:03:31.013250+00:00, sha fe081fdb6a2e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
