ggMarginal: Add marginal plots to ggplot2 scatterplots

★ ☆ ☆ ☆ ☆ | 7 users

Last accessed Jul 02, 2026
Author Dean Attali Founder @ AttaliTech Ltd

About the app

This is a demo of the ggMarginal function, which provides is an easy drop-in solution for adding marginal density plots/histograms/boxplots to a ggplot2 scatterplot. ggMarginal is the flagship function of the popular {ggExtra} package, which is a collection of functions and layers to enhance ggplot2. Within an R script, the easiest way to use ggMarginal is by simply passing it a ggplot2 scatter plot object, and then watch how the marginal plots are added. Marginal plots, also known as marginal distributions or marginal histograms, are graphical representations that provide additional insights into the univariate distribution of variables in a dataset. They are typically displayed alongside a scatter plot or a main plot.

Data Safety

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.

Rate this App

You must login to submit votes

App Updates and Comments

No application notes or reviews.

Post response or reviews

Other Similar Apps

shinyWYSIWYG WYSIWYG Editor for Shiny App UI and Server Scripts Juan C Rodriguez
metaIEShift Meta-Analysis of the Effects of Co-Occurrence and Relational Information Benedek Kurdi
AssessCIRCC Study the Benefits of Composite Outcomes David Moreau
MSMpred Model and simulate individual evolution with MSM Levi Bilal
timevis An R package for creating timeline visualizations Dean Attali
shinyjs Easily improve the user experience of your Shiny apps Dean Attali
shinyalert Easily create pretty popup messages in Shiny Dean Attali
colourpicker An input control that allows users to select colours Dean Attali
shinydisconnect Custom Messages When Shiny App Disconnect Dean Attali
ggMarginal Add marginal plots to ggplot2 scatterplots Dean Attali