Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. R
  3. ggalt

ggalt

NOASSERTIONRv0.8.0

A collection of extra coordinate systems, geoms, statistical transformations, scales, and fonts for the ggplot2 R package.

Visit WebsiteGitHubGitHub
688 stars101 forks0 contributors

What is ggalt?

ggalt is an R package that extends the ggplot2 graphics system with additional coordinate systems, geometric objects (geoms), statistical transformations, and scales. It solves the problem of creating specialized visualizations—like horizon charts, improved map projections, and advanced density plots—that are not natively supported in base ggplot2.

Target Audience

R users and data scientists who rely on ggplot2 for data visualization and need specialized plotting capabilities for statistical analysis, geographic mapping, or creating publication-quality custom charts.

Value Proposition

Developers choose ggalt because it provides a curated collection of well-tested, ggplot2-compatible extensions that are easy to integrate, saving time compared to building custom geoms from scratch. Its unique selling point is the combination of advanced statistical visualizations (like bkde/ash) with improved mapping capabilities (coord_proj) in a single package.

Overview

:earth_americas: Extra Coordinate Systems, Geoms, Statistical Transformations & Scales for 'ggplot2'

Use Cases

Best For

  • Creating horizon charts for time-series data with multiple categories
  • Generating smoothed density estimates with KernSmooth's bkde algorithm
  • Producing improved map projections using PROJ.4 coordinate transformations
  • Making lollipop and dumbbell plots for comparative data visualization
  • Adding X-spline curves to connect data points with smooth, adjustable paths
  • Incorporating StateFace font for U.S. state abbreviations in spatial plots

Not Ideal For

  • Projects relying exclusively on base R graphics or alternative plotting libraries like lattice
  • Teams requiring extensive interactive dashboards; plotly integration is limited to only a few geoms
  • Applications with strict dependency management; ggalt requires external libraries like KernSmooth and PROJ.4 that may need manual installation
  • Users needing comprehensive, beginner-friendly tutorials; the package emphasizes vignettes which might not cover all edge cases

Pros & Cons

Pros

Specialized Geom Collection

Includes horizon charts, X-splines, lollipop plots, and dumbbell plots for niche visualizations, as demonstrated in the README with detailed code examples.

Advanced Statistical Visualizations

Provides smoothed density estimates (bkde) and univariate averaged shifted histograms (ash) using robust algorithms like KernSmooth, offering alternatives to ggplot2's default methods.

Improved Map Projections

Features coord_proj for superior map projections via PROJ.4, addressing limitations in ggplot2's coord_map, as shown in world map examples.

Seamless ggplot2 Integration

Follows the grammar of graphics philosophy, ensuring all geoms and stats work cohesively with existing ggplot2 workflows, reducing integration friction.

Cons

External Dependency Burden

Relies on packages like KernSmooth and PROJ.4, which may require separate installation and can cause setup issues in environments like Docker or restricted servers.

Limited Interactivity Scope

Plotly integration is only supported for a few geoms, restricting the ability to create fully interactive versions of advanced charts like horizon or density plots.

Documentation Gaps

The README notes that coord_proj 'still needs a teensy bit of work,' and users are directed to vignettes for deeper understanding, which may be insufficient for complex use cases.

Frequently Asked Questions

Quick Stats

Stars688
Forks101
Contributors0
Open Issues0
Last commit1 month ago
CreatedSince 2015

Tags

#coordinate-systems#r-package#statistical graphics#ggplot extension#density-estimation#data-visualization#maps#r#rstats#ggplot2

Built With

g
ggplot2
R
R

Links & Resources

Website

Included in

R6.4k
Auto-fetched 6 hours ago

Related Projects

ggplot2 <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">ggplot2 <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">

An implementation of the Grammar of Graphics in R

Stars6,957
Forks2,132
Last commit2 months ago
PatchworkPatchwork

The Composer of ggplots

Stars2,611
Forks170
Last commit10 months ago
ggstatsplotggstatsplot

Enhancing {ggplot2} plots with statistical analysis 📊📣

Stars2,187
Forks203
Last commit2 months ago
gganimategganimate

A Grammar of Animated Graphics

Stars1,982
Forks313
Last commit10 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub