← Back to home
Comparison · Analytics

gghighlight vs moderndive

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

Shared themes:r-package

gghighlight vs moderndive: at a glance

Featuregghighlightmoderndive
SectorAnalyticsAnalytics
Velocity score0.02.5
Sparks · 30d00
Top themesggplot2, data-visualisation, ggplot-extension, upstream-compatstatistics-education, webr, regression, r-package
Last editorial update1h ago7h ago
WebsiteVisit →Visit →

What is gghighlight?

A single-purpose ggplot2 extension that has spent six years tracking ggplot2 instead of growing.

gghighlight adds one verb to ggplot2: highlight the series matching a predicate and grey out the rest, with unhighlighted_params controlling how the shadowed layer renders and calculate_per_facet deciding whether the predicate evaluates within facets. The API settled at 0.2.0; the 0.5.0 release supports ggplot2 v4.0 including its ink and paper theme elements, and finally deletes gghighlight_point() and gghighlight_line().

Read the full gghighlight trajectory →

What is moderndive?

The ModernDive teaching package learns to render inside the browser that runs its own textbook

moderndive supplies the datasets, regression helpers and ggplot geoms used by the ModernDive introductory statistics textbook. Its release history is mostly dataset accumulation — much of it contributed by students in batches — punctuated by occasional function work. The latest release is different: it fixes View() so it renders inside webR, the in-browser R that powers the book's live exercises, and reworks the regression helpers to survive in-formula transformations.

Read the full moderndive trajectory →

gghighlight vs moderndive: editorial side-by-side

G
gghighlight
ANALYTICS
0.0

A single-purpose ggplot2 extension that has spent six years tracking ggplot2 instead of growing.

◆ Current state

gghighlight adds one verb to ggplot2: highlight the series matching a predicate and grey out the rest, with unhighlighted_params controlling how the shadowed layer renders and calculate_per_facet deciding whether the predicate evaluates within facets. The API settled at 0.2.0; the 0.5.0 release supports ggplot2 v4.0 including its ink and paper theme elements, and finally deletes gghighlight_point() and gghighlight_line().

◆ Where it's heading

Two threads run through the history. One is a slow deprecation, from soft-deprecating the geom-specific functions at 0.1.0, to defunct at 0.3.0, to removed at 0.5.0 — a five-year removal cycle. The other is compatibility work: purrr 1.0.0, dplyr's across() deprecation, ggplot2 3.4.0, then 4.0. Genuine feature additions are rare and small, with line_label_type at 0.4.0 the last one. Note that 0.3.2's notes restate 0.3.1's n() item, so adjacent tags here overlap rather than each describing distinct work.

◆ Prediction

The next release most likely absorbs further ggplot2 4.x changes, given that is what triggered the last three. Nothing in the entries points to a new highlighting capability.

M
moderndive
ANALYTICS
2.5

The ModernDive teaching package learns to render inside the browser that runs its own textbook

◆ Current state

moderndive supplies the datasets, regression helpers and ggplot geoms used by the ModernDive introductory statistics textbook. Its release history is mostly dataset accumulation — much of it contributed by students in batches — punctuated by occasional function work. The latest release is different: it fixes View() so it renders inside webR, the in-browser R that powers the book's live exercises, and reworks the regression helpers to survive in-formula transformations.

◆ Where it's heading

The package is following the textbook's second edition into the browser. webR has no pandoc, so the DT htmlwidget path the package relied on cannot produce the self-contained HTML the notebook cell needs, and the auto-print path was gated behind interactive() being false — meaning students working through the live exercises saw an explanatory message where a table should have been. Building a static HTML table and pushing it through webR's viewer hook is a small change with a direct effect on whether the book's interactive mode works at all.

◆ Prediction

With the book's v2 datasets landed and the browser rendering path fixed, the remaining friction is most likely in other functions that assume a desktop R session.

Alternatives to gghighlight and moderndive

Other Analytics 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 gghighlight or moderndive.

See all gghighlight alternatives → · See all moderndive alternatives →

Recent activity from gghighlight and moderndive

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

  1. 12d agomoderndiveView() renders in webR; regression helpers survive formula transforms
  2. 1y agogghighlightggplot2 v4.0 support; geom-specific functions removed
  3. 1y agomoderndiveDatasets and tidy_summary() for the second edition
  4. 2y agomoderndiveAlmond and flight datasets for the inference chapters
  5. 2y agogghighlightTest expectations updated for upcoming ggplot2
  6. 3y agogghighlightline_label_type adds geomtextpath and second-axis labelling
  7. 4y agogghighlightDeprecated dplyr::across() usage removed
  8. 4y agomoderndiveTen student-curated teaching datasets
  9. 4y agomoderndiveAlaska flights subset added
  10. 5y agomoderndiveCleaner regression tables and an explicit conf.level argument
  11. 5y agogghighlightExplicit NULL in unhighlighted_params preserved; aesthetic name clash fixed
  12. 5y agogghighlightDiscrete-scale labels and n() predicates

Frequently asked questions

What is the difference between gghighlight and moderndive?

Both compete on the same themes — r-package — within Analytics. moderndive is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 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 gghighlight better than moderndive?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. moderndive is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to gghighlight?

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

What are the best alternatives to moderndive?

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