Albert Rapp
Blog
Resources
DataViz Portfolio
YARDS
Probability Companion (German)
R Weekly
R Bloggers
Archive
Series: ggplot2-tips
Calendar Plots With ggplot2
Today I’m showing you ggplot techniques to create calendar plots in no time.
Aug 4, 2024
12 min
Text Styling With ggplot2
Today I’m showing you ggplot techniques that give you full control over your texts. This includes dynamic text colors (depending on the background) and customizations using the brand-new
marquee
package.
Jul 21, 2024
9 min
Quick dataViz techniques for nicer line charts with ggplot
Today I’m showing you a couple of quick ggplot techniques that you can apply to quickly make your line charts nicer
Jul 7, 2024
10 min
How to avoid empty line charts
Today we’re finding out what goes wrong then ggplot can plot the lines that we want to plot.
Jun 30, 2024
12 min
Why you shouldn’t use boxplots
In this blog post, I explain why it’s not a great idea to rely too heavily on box plots.
Jun 9, 2024
17 min
How to create interactive country maps with R.
In this blog post, I show you how to create interactive maps with ggplot.
May 19, 2024
10 min
Three Ways to Include Images in Your ggplots
In this blog post, I show you three ways to include image files into your
ggplot2
plots
Apr 7, 2024
8 min
Creating upset charts with
ggplot2
In this blog post, I show you how to create upset charts with
ggplot2
Mar 24, 2024
11 min
How to create diverging bar plots
In this blog post, we are going to recreate a beautiful diverging bar plot from the PEW Research Center.
Feb 25, 2024
22 min
Dot plots as an alternative to bar charts
Bar charts are great for comparing categories. But dot plots put more emphasis on individual data points. In this blog post, I show you how to create such an alternative plot with
ggplot2
.
Feb 11, 2024
9 min
Correlation heat maps with
{ggplot2}
I show you how to create a correlation heat map with
{ggplot2}
, how to avoid using the wrong colors and how to use some nice variations of standard heat maps.
Feb 4, 2024
21 min
Combining maps and patterns with
{ggplot2}
In this video I show you how you can create a map of the US with patterns inside of state borders.
Jan 28, 2024
8 min
6 Common
ggplot2
Mistakes
Here’s a list of some beginner’s mistakes when it comes to
ggplot
(and how to avoid them)
Jan 14, 2024
8 min
5 Powerful
ggplot2
Extensions
ggplot2
is powerful on its own but there are some extensions that make
ggplot2
even better. In this blog post, I show you some of the best extensions.
Jan 7, 2024
8 min
5 Example Charts with
ggplot2
ggplot2 is an incredibly powerful tool to create great charts with R. But it can be hard to keep all the moving parts in mind in the beginning. So, it helps to have a few examples to get started. In this blog post I show you how to create the most common chart types with
ggplot2
.
Dec 17, 2023
17 min
The Ultimate Guide to Get Started With
ggplot2
ggplot2 is an incredibly powerful tool to create great charts with R. But it has a bit of a learning curve. This tutorial shows you everything you need to know to get started with ggplot
Nov 22, 2023
41 min
Creating interactive visualizations with
{ggiraph}
(with or without Shiny)
It is really simple to turn a ggplot into an interactive visualization. In this blog post you’ll learn how to do that with
{ggiraph}
. Also we’ll explore ways to enhance the interactivity with Shiny.
Feb 23, 2023
23 min
Bar plot checklist
Bar charts are easy to make but hard to perfect. Let’s create a small checklist to make things easier.
Nov 21, 2022
7 min
Alternatives to paired bar charts
We take a look at a couple alternatives to paired bar charts.
Oct 22, 2022
13 min
Forget regular heat maps. Use bubbles on a grid!
We explore alternatives for heat maps to take sample sizes into account.
Aug 10, 2022
8 min
Alternative ways to visualize correlations
We explore alternative correlation matrix plots.
Aug 1, 2022
7 min
5 hidden gems from gg-packages to level up your dataviz game
This blog post is a quick one. It highlights a few hidden gems (functions) from well-known or not so well-known packages.
Jul 27, 2022
11 min
Storytelling in ggplot using rounded rectangles
We build rebuild a ‘Storytelling with Data’ plot which uses rounded rectangles. I’ll show you an easy and a hard way to make rectangles round.
May 4, 2022
19 min
Recreating the Storytelling with Data look with ggplot
We try to imitate the Storytelling with Data look with ggplot
Mar 29, 2022
19 min
How to use functional programming for ggplot
Functional programming is a mighty sword. Today, we use it to avoid tedious repetitions when things go wrong in ggplot.
Mar 25, 2022
7 min
How to use Fonts and Icons in ggplot
This is a short tutorial on how to import fonts and icons in R using the showtext package.
Mar 4, 2022
7 min
4 Ways to use colors in ggplot more efficiently
Inspired by a datawrapper blogpost, we explore how to work with fewer colors in ggplot.
Feb 19, 2022
13 min
ggplot-tips: Learning by Thieving
I advocate to take part in the TidyTuesday events to learn with and from others.
Jan 10, 2022
4 min
A couple of visualizations from ggforce
The ggplot2-tips series is continued with a few example plots from the ggforce package
Dec 31, 2021
9 min
ggplot tips: Arranging plots
The patchwork and ggforce packages can be used to compose plots from multiple subplots. Let’s have a look at how that works.
Oct 28, 2021
9 min
ggplot tips: Using position_stack() for Individual Positioning
We take a look at the differences between position = ‘stack’ and position = position_stack().
Sep 11, 2021
4 min
ggplot tips: Assigning Labels to an Aesthetic
We talk about how to easily create labels for an aesthetic.
Aug 19, 2021
6 min
Beginning a ggplot2 Series: Logarithmize Your Scales
This is the beginning of a series about a few ggplot2 tricks I picked up along the way. In this first installment we talk about how logarithmizing scales can be beneficial.
Aug 7, 2021
6 min
No matching items