← Back to home
Comparison · Infra & APIs

afcharts vs q2

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

Shared themes:accessibility

afcharts vs q2: at a glance

Featureafchartsq2
SectorInfra & APIsInfra & APIs
Velocity score0.06.3
Sparks · 30d01
Top themesdata-visualisation, government-statistics, ggplot2, colour-palettespublishing, rust-rewrite, static-site-generator, quarto-parity
Last editorial update5h ago43m 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 q2?

Quarto's Rust rewrite ships daily, and the parity grind has resumed after its one leap ahead.

q2 is the Rust reimplementation of Quarto, shipping a tagged release most days and still labelled experimental and not production-ready. The releases in this window are dominated by Quarto 1 parity work — tabsets, table-of-contents fidelity, highlight themes, path resolution, draft banners — plus a Hub web client that now carries its own accessibility and design-token workstream. Release notes are raw commit logs behind a fixed install header, so what actually changed sits well down the body.

Read the full q2 trajectory →

afcharts vs q2: 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.

Q
q2
INFRA · APIS
6.3

Quarto's Rust rewrite ships daily, and the parity grind has resumed after its one leap ahead.

◆ Current state

q2 is the Rust reimplementation of Quarto, shipping a tagged release most days and still labelled experimental and not production-ready. The releases in this window are dominated by Quarto 1 parity work — tabsets, table-of-contents fidelity, highlight themes, path resolution, draft banners — plus a Hub web client that now carries its own accessibility and design-token workstream. Release notes are raw commit logs behind a fixed install header, so what actually changed sits well down the body.

◆ Where it's heading

Two things are being built at once. The compiler is closing a long checklist of Quarto 1 behaviours, and the pattern is consistent: investigate, settle the design in a plan, land in numbered phases, close the plan. The second is the Hub — a live-share preview, an MCP server, a web editor and now a WCAG-compliant token system — which is where the project is building something Quarto 1 never had. Recent tags have gone back to parity after v0.22.0's push, and the engine-claims refactor in v0.24.0 suggests third-party engine support is being prepared underneath.

◆ Prediction

The engine-claims work replaced a static source-type model with a claim-based one and added user-facing engine load and claim failure reporting, so the next visible step is likely an engine extension surface that authors can actually target. The experimental label and 0.x versioning give no indication that a stable release is close.

Alternatives to afcharts and q2

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 q2.

See all afcharts alternatives → · See all q2 alternatives →

Recent activity from afcharts and q2

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

  1. 18h agoq2WCAG 2.2 compliance and shared design tokens for the Hub client
  2. 1d agoq2Q1 highlight themes translate at runtime; tabset headings leave the TOC
  3. 2d agoq2Light/dark themes with a color-mode toggle; panel-tabset support
  4. 5d agoq2llms.txt site output and a live-share collaborative preview
  5. 6d agoq2TOC entries carry inline markup; draft banner restored
  6. 7d agoq2Adds alias redirect stubs and diagnostic suppression
  7. 5mo agoafchartsSequential palette reaches five shades for quintile data
  8. 1y agoafchartsNamespace and argument-passing fixes
  9. 1y agoafchartsFirst release, derived from sgplot

Frequently asked questions

What is the difference between afcharts and q2?

Both compete on the same themes — accessibility — within Infra & APIs. q2 is currently shipping more aggressively (velocity 6.3 vs 0.0), with 1 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is afcharts better than q2?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. q2 is currently shipping more aggressively (velocity 6.3 vs 0.0), with 1 editorial sparks in the last 30 days against 0. 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 q2?

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