← Back to home
Comparison · Infra & APIs

afcharts vs mice

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

afcharts vs mice: at a glance

Featureafchartsmice
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesdata-visualisation, government-statistics, ggplot2, colour-palettesmissing-data, multiple-imputation, statistics, r-package
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 mice?

mice can finally predict, not just estimate, from multiply imputed data.

mice is the reference implementation of multiple imputation by chained equations, and the default answer to missing data in R. The releases here follow a consistent shape: one or two substantive additions per version, most contributed by outside authors, plus fixes to methods that have been in the package for years. The current 3.19.0 adds predict_mi(), which pools predictions across imputations under Rubin's rules and can return prediction intervals.

Read the full mice trajectory →

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

M
mice
INFRA · APIS
0.0

mice can finally predict, not just estimate, from multiply imputed data.

◆ Current state

mice is the reference implementation of multiple imputation by chained equations, and the default answer to missing data in R. The releases here follow a consistent shape: one or two substantive additions per version, most contributed by outside authors, plus fixes to methods that have been in the package for years. The current 3.19.0 adds predict_mi(), which pools predictions across imputations under Rubin's rules and can return prediction intervals.

◆ Where it's heading

Two things are happening. The imputation method catalogue keeps widening — lasso variants, multivariate PMM, categorical PMM via canonical correlation — while the pooling side is being extended past its original purpose, first to synthetic data, now to predictions on held-out sets. That second thread points at predictive modelling workflows rather than the inferential ones mice was built for. Meanwhile the maintainers keep finding consequential old bugs: the augment() ordered-factor defect in 3.18.0 had been silently degrading ordinal imputations for years.

◆ Prediction

predict_mi() is framed around evaluating predictive performance on test sets, and the ignore argument added in 3.12.0 already exists to hold out rows from the imputation model. Expect the next work to join those up into a fuller train/test story for imputed data, since the pieces are now in place but not yet connected.

Alternatives to afcharts and mice

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

See all afcharts alternatives → · See all mice alternatives →

Recent activity from afcharts and mice

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

  1. 5mo agoafchartsSequential palette reaches five shades for quintile data
  2. 8mo agomicemice 3.19.0
  3. 1y agomicemice 3.18.0
  4. 1y agoafchartsNamespace and argument-passing fixes
  5. 1y agomicemice 3.17.0
  6. 1y agoafchartsFirst release, derived from sgplot
  7. 3y agomicemice 3.16.0
  8. 3y agomicemice 3.15.0
  9. 4y agomicemice 3.14.0

Frequently asked questions

What is the difference between afcharts and mice?

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

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

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