← Back to home
Comparison · Analytics

leaflet vs scales

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

leaflet vs scales: at a glance

Featureleafletscales
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesmapping, geospatial, sf-migration, licensingr, ggplot2, data-visualization, axis-labels
Last editorial update52m ago2h ago
WebsiteVisit →Visit →

What is leaflet?

leaflet relicensed to MIT and finished migrating off R's retired spatial stack

leaflet is the R binding for the Leaflet mapping library. Its recent releases are dominated by one long migration: away from sp, rgdal, rgeos and raster, and toward sf and terra. Version 2.2.3 completed the user-facing half of that - sp is no longer installed by default, and bundled datasets ship as sf objects - while also relicensing the package from GPL-2 to MIT.

Read the full leaflet trajectory →

What is scales?

scales keeps widening what ggplot2 can put on an axis.

scales supplies the breaks, labels and transformations behind ggplot2's axes and legends. Unlike much of the tidyverse infrastructure around it, it still ships genuine feature work each release: native timespan handling in 1.3.0, then custom range-training classes and label_glue() in 1.4.0.

Read the full scales trajectory →

leaflet vs scales: editorial side-by-side

L
leaflet
ANALYTICS
0.0

leaflet relicensed to MIT and finished migrating off R's retired spatial stack

◆ Current state

leaflet is the R binding for the Leaflet mapping library. Its recent releases are dominated by one long migration: away from sp, rgdal, rgeos and raster, and toward sf and terra. Version 2.2.3 completed the user-facing half of that - sp is no longer installed by default, and bundled datasets ship as sf objects - while also relicensing the package from GPL-2 to MIT.

◆ Where it's heading

This is a package being brought into line with an ecosystem that changed underneath it. The retirement of rgdal and rgeos forced the terra and sf work; the license change and dependency reductions are the maintainers taking the opportunity to clean up while they are already in there. Feature work, such as the full viridisLite palette set, arrives as a side effect of the tidying.

◆ Prediction

With the sp path now opt-in and the retired geospatial dependencies gone, expect the remaining work to be small: palette and provider-tile handling, and keeping the bundled JavaScript current.

S
scales
ANALYTICS
0.0

scales keeps widening what ggplot2 can put on an axis.

◆ Current state

scales supplies the breaks, labels and transformations behind ggplot2's axes and legends. Unlike much of the tidyverse infrastructure around it, it still ships genuine feature work each release: native timespan handling in 1.3.0, then custom range-training classes and label_glue() in 1.4.0.

◆ Where it's heading

The arc runs toward extensibility and type coverage. First came built-in support for awkward types like difftime and hms; 1.4.0 inverts that by letting any third-party class participate in range training simply by implementing range() or levels(). Labelling is getting more expressive rather than merely more numerous.

◆ Prediction

Expect continued type-support and labelling work, with extension points that let downstream packages plug in their own classes instead of scales enumerating every one.

Alternatives to leaflet and scales

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 leaflet or scales.

See all leaflet alternatives → · See all scales alternatives →

Recent activity from leaflet and scales

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

  1. 11mo agoleafletMIT relicensing and sp dropped from default installs
  2. 1y agoscalesscales 1.4.0 opens range training to custom classes
  3. 2y agoleafletterra CRS handling fixed; raster images accept layer options
  4. 2y agoscalesscales 1.3.0 makes timespans first-class on axes
  5. 2y agoleafletProvider tile dependency is cacheable by knitr again
  6. 2y agoleafletAdds terra support and removes rgdal and rgeos
  7. 3y agoleafletUpdates proj4.js and fixes examples to stay on CRAN
  8. 3y agoscalesscales 1.2.1 re-documents to fix .Rd HTML issues
  9. 4y agoscalesscales 1.2.0 fixes currency sign order and adds scale_cut
  10. 6y agoscalesscales 1.1.1 fixes palette inversion and adds oob_keep()
  11. 6y agoscalesscales 1.1.0 reorganises breaks and labels into a naming scheme

Frequently asked questions

What is the difference between leaflet and scales?

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

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. leaflet and scales 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 Analytics products to evaluate alongside.

What are the best alternatives to leaflet?

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

What are the best alternatives to scales?

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