← Back to home
Comparison · Infra & APIs

afcharts vs tidyplots

A side-by-side editorial comparison of afcharts and tidyplots — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:ggplot2

afcharts vs tidyplots: at a glance

Featureafchartstidyplots
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesdata-visualisation, government-statistics, ggplot2, colour-palettesdata-visualization, r-package, ggplot2, scientific-publishing
Last editorial update6h ago1h ago
WebsiteVisit →Visit →

What is afcharts?

UK government chart styling in ggplot2, chasing ggplot2 v4 and stretching its palette to five.

afcharts supplies the UK Analysis Function's chart styling for ggplot2, as a theme, colour and fill scales, and a use_afcharts() call that applies the styling globally. Version 0.5.1 extends the sequential palette to five shades so it can carry quintile data such as deprivation bands, renames the na_colour argument to na.value, and adds a reset argument to switch the styling back off. The package began as a first release derived from sgplot and has had three releases in roughly two years.

Read the full afcharts trajectory →

What is tidyplots?

tidyplots keeps rebuilding its own foundations rather than layering around them.

tidyplots wraps ggplot2 in a pipe-driven API aimed at publication-ready scientific figures, trading grammar-of-graphics flexibility for a shorter path to a finished plot. It is at 0.4.0 after two years of frequent releases, and almost every one carries a breaking change — the most recent moved multi-panel layout off patchwork and onto ggplot2's own faceting. Statistical annotation, colour schemes and size control have each been reworked at least once.

Read the full tidyplots trajectory →

afcharts vs tidyplots: editorial side-by-side

A
afcharts
INFRA · APIS
0.0

UK government chart styling in ggplot2, chasing ggplot2 v4 and stretching its palette to five.

◆ Current state

afcharts supplies the UK Analysis Function's chart styling for ggplot2, as a theme, colour and fill scales, and a use_afcharts() call that applies the styling globally. Version 0.5.1 extends the sequential palette to five shades so it can carry quintile data such as deprivation bands, renames the na_colour argument to na.value, and adds a reset argument to switch the styling back off. The package began as a first release derived from sgplot and has had three releases in roughly two years.

◆ Where it's heading

The work splits between palette design and keeping the styling composable. On the design side the sequential palette growing to five shades is driven by a specific reporting need rather than aesthetics, since quintiles are a standard unit in UK official statistics. On the mechanical side, the na.value rename was forced by ggplot2 v4.0.1, theme_af() now respects options set by an earlier use_afcharts() call, and a reset argument acknowledges that global styling needs an off switch. These are the problems a styling package hits once people use it inside larger documents.

◆ Prediction

Expect continued adjustment to ggplot2 v4, since the na.value rename is unlikely to be the only argument affected, and further palette work driven by the reporting formats government analysts actually publish. As a sibling to aftables in the same Analysis Function family, it is likely to keep tracking that guidance rather than setting its own direction.

T
tidyplots
INFRA · APIS
0.0

tidyplots keeps rebuilding its own foundations rather than layering around them.

◆ Current state

tidyplots wraps ggplot2 in a pipe-driven API aimed at publication-ready scientific figures, trading grammar-of-graphics flexibility for a shorter path to a finished plot. It is at 0.4.0 after two years of frequent releases, and almost every one carries a breaking change — the most recent moved multi-panel layout off patchwork and onto ggplot2's own faceting. Statistical annotation, colour schemes and size control have each been reworked at least once.

◆ Where it's heading

The package is converging on ggplot2 rather than abstracting away from it: split_plot() now uses facet_wrap and facet_grid, as_tidyplot() was hard-deprecated on the grounds that converting a ggplot was never a good idea, and releases are timed against upstream ggplot2 versions. The other constant is the statistics surface, which has grown from basic error bars to paired and selected comparisons. Breaking changes are announced plainly and frequently, consistent with a package using 0.x to fix its shape before committing.

◆ Prediction

The patchwork removal is described as something that will eventually break dependent code, so the near-term work is likely completing that migration and settling the split_plot() parameters introduced alongside it. A 1.0 would signal the breaking-change cadence is ending, and nothing here indicates that yet.

Alternatives to afcharts and tidyplots

Other Infra & APIs products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either afcharts or tidyplots.

See all afcharts alternatives → · See all tidyplots alternatives →

Recent activity from afcharts and tidyplots

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 5mo agoafchartsSequential palette reaches five shades for quintile data
  2. 7mo agotidyplotstidyplots 0.4.0
  3. 1y agotidyplotstidyplots 0.3.1
  4. 1y agotidyplotstidyplots 0.2.2
  5. 1y agotidyplotstidyplots 0.2.1
  6. 1y agoafchartsNamespace and argument-passing fixes
  7. 1y agotidyplotstidyplots 0.2.0
  8. 1y agotidyplotstidyplots 0.1.2
  9. 1y agoafchartsFirst release, derived from sgplot

Frequently asked questions

What is the difference between afcharts and tidyplots?

Both compete on the same themes — ggplot2 — within Infra & APIs. afcharts and tidyplots are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is afcharts better than tidyplots?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. afcharts and tidyplots are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

What are the best alternatives to afcharts?

Top afcharts alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "afcharts alternatives" section above for the current picks, or visit /alternatives/afcharts for the full list with editorial commentary on each.

What are the best alternatives to tidyplots?

Top tidyplots alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "tidyplots alternatives" section above for the current picks, or visit /alternatives/tidyplots for the full list with editorial commentary on each.