Hello Quarto

visualization
Author

Dr. Joscelin Rocha-Hidalgo

Published

April 22, 2025

Buy me a coffeeBuy me a coffee


Use geom_ribbon() to Highlight the Gap Between Two Lines

By David Keyes & Joseph Barbier

Added Thu Apr 17, 2025

What is this?

A short tutorial on using geom_ribbon() in ggplot2 to shade the area between two lines—great for emphasizing differences between groups across time.

  1. Link to tutorial: https://rfortherestofus.com/2024/12/area-and-line-chart
Back to top