← Back to home
Comparison · Infra & APIs

afcharts vs prova

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

afcharts vs prova: at a glance

Featureafchartsprova
SectorInfra & APIsInfra & APIs
Velocity score0.06.3
Sparks · 30d01
Top themesdata-visualisation, government-statistics, ggplot2, colour-palettesr-packages, bayesian-inference, decision-analysis, api-consolidation
Last editorial update3h 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 prova?

prova adds expected-utility calculation on top of its Bayesian inference core.

prova does Bayesian nonparametric inference in R — probabilities through Pr() and qPr(), mutual information, quantile plots. Five releases in about two weeks renamed its central argument, collapsed two plotting functions into one, and then in v2.3.0 introduced exputility() for expected utilities and their revisability, with plot() and print() methods attached from the start.

Read the full prova trajectory →

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

P
prova
INFRA · APIS
6.3

prova adds expected-utility calculation on top of its Bayesian inference core.

◆ Current state

prova does Bayesian nonparametric inference in R — probabilities through Pr() and qPr(), mutual information, quantile plots. Five releases in about two weeks renamed its central argument, collapsed two plotting functions into one, and then in v2.3.0 introduced exputility() for expected utilities and their revisability, with plot() and print() methods attached from the start.

◆ Where it's heading

Two arcs run in parallel. One compresses the API: learnt= became K=, flexiplot() and plotquantiles() merged into pplot(), and omitting arguments such as Y=, X= and K= got simpler. The other extends reach — mutualinfoF() for finite-domain variates, quantile accuracy reported alongside mutual information, and now a decision-theoretic layer sitting on the inference the package already did.

◆ Prediction

exputility() shipping with print() and plot() methods matches how the probability and mutual-information classes were treated, so utilities are likely to get the same class-based handling as they mature. The notes do not say whether decision analysis extends beyond expected utility.

Alternatives to afcharts and prova

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

See all afcharts alternatives → · See all prova alternatives →

Recent activity from afcharts and prova

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

  1. 13d agoprovaexputility() brings decision analysis into prova
  2. 20d agoprovaCumulative 2.x notes, plus hist() and mutual-information changes
  3. 23d agoprovalearnt= becomes K=; pplot() replaces two plot functions
  4. 28d agoprovaFix for pre-existing parallel clusters
  5. 28d agoprovaextraDistr dropped; mutual-information objects get a class
  6. 5mo agoafchartsSequential palette reaches five shades for quintile data
  7. 1y agoafchartsNamespace and argument-passing fixes
  8. 1y agoafchartsFirst release, derived from sgplot

Frequently asked questions

What is the difference between afcharts and prova?

They serve adjacent needs but don't currently overlap on shipped themes. prova 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 prova?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. prova 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 prova?

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