← Back to home
Comparison · Infra & APIs

ggh4x vs sdcHierarchies

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

ggh4x vs sdcHierarchies: at a glance

Featureggh4xsdcHierarchies
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesggplot2, data-visualization, facets, deprecationdisclosure-control, hierarchies, rcpp, performance
Last editorial update1h ago2h ago
WebsiteVisit →Visit →

What is ggh4x?

Handed its axis and legend guides to ggplot2 and legendry, and kept the facets

ggh4x is a set of ggplot2 extensions — nested and manual facets, per-facet scales, forced panel sizes, and statistics such as stat_difference() and stat_rle(). Its guide functions, once a substantial part of the package, are deprecated: 0.3.0 redirected users to ggplot2's own guide arguments and to the legendry package, and 0.3.1 made the deprecated functions return plain equivalents. What remains as this package's own territory is facetting and panel layout.

Read the full ggh4x trajectory →

What is sdcHierarchies?

Hierarchy tooling for statistical disclosure control keeps trading R for Rcpp.

sdcHierarchies builds and manipulates the nested code hierarchies that statistical disclosure control depends on. Its release history is dominated by one theme: moving tree work into C++ and reporting the speedup. The March 2026 release adds hier_create_ids() for mapping microdata onto hierarchy levels by integer index, and extends hier_grid() with contributing-cell aggregation.

Read the full sdcHierarchies trajectory →

ggh4x vs sdcHierarchies: editorial side-by-side

G
ggh4x
INFRA · APIS
0.0

Handed its axis and legend guides to ggplot2 and legendry, and kept the facets

◆ Current state

ggh4x is a set of ggplot2 extensions — nested and manual facets, per-facet scales, forced panel sizes, and statistics such as stat_difference() and stat_rle(). Its guide functions, once a substantial part of the package, are deprecated: 0.3.0 redirected users to ggplot2's own guide arguments and to the legendry package, and 0.3.1 made the deprecated functions return plain equivalents. What remains as this package's own territory is facetting and panel layout.

◆ Where it's heading

The handover was signalled well in advance. Version 0.2.5 set the guides' lifecycle to 'questioning' and said outright they might migrate to a new package once ggplot2 overhauled its guide system, and 0.3.0 executed that eighteen months later. Much of the rest of the changelog is anticipatory compatibility work for upcoming ggplot2 releases, the standing cost of being an extension package. Releases carry playful codenames that say nothing about their contents.

◆ Prediction

The deprecated guide functions are scheduled for removal in the next non-hotfix release, so expect that next; continued work should concentrate on facets and panel sizing, the areas neither ggplot2 nor legendry has absorbed.

S
sdcHierarchies
INFRA · APIS
0.0

Hierarchy tooling for statistical disclosure control keeps trading R for Rcpp.

◆ Current state

sdcHierarchies builds and manipulates the nested code hierarchies that statistical disclosure control depends on. Its release history is dominated by one theme: moving tree work into C++ and reporting the speedup. The March 2026 release adds hier_create_ids() for mapping microdata onto hierarchy levels by integer index, and extends hier_grid() with contributing-cell aggregation.

◆ Where it's heading

Four of the last five releases are performance releases, and each names the specific function that got faster: hier_convert(), then hier_codes(), then the core tree traversal itself. The direction is toward handling hierarchies large enough that the R-level implementation stopped being viable, with the new integer-indexed ID mapping pointing the same way. Feature work rides along with the optimisation rather than driving it.

◆ Prediction

Expect the remaining R-level tree operations to follow hier_convert() and hier_codes() into Rcpp, and the new hier_grid() arguments to accumulate defaults as the aggregation path gets exercised.

Alternatives to ggh4x and sdcHierarchies

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 ggh4x or sdcHierarchies.

See all ggh4x alternatives → · See all sdcHierarchies alternatives →

Recent activity from ggh4x and sdcHierarchies

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

  1. 5mo agosdcHierarchieshier_create_ids() maps microdata to hierarchy levels by integer index
  2. 1y agosdcHierarchieshier_codes() rewritten for speed
  3. 1y agosdcHierarchieshier_import() gains keep_order to preserve node order
  4. 1y agoggh4xDeprecated guides now return plain ggplot2 equivalents
  5. 1y agoggh4xGuide functions deprecated in favour of ggplot2 and legendry
  6. 2y agoggh4xCRAN note fix and two facet bug fixes
  7. 2y agoggh4xAnticipatory changes for ggplot2 3.5.0
  8. 3y agosdcHierarchieshier_convert() rewritten for speed
  9. 3y agoggh4xGuides marked 'questioning'; render_empty and panel-area sizing
  10. 3y agoggh4xSemi-discrete manual scales and facet whitespace handling
  11. 4y agosdcHierarchiesBogus-code computation fixed

Frequently asked questions

What is the difference between ggh4x and sdcHierarchies?

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

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

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

What are the best alternatives to sdcHierarchies?

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