How To Make US State and County Level Maps in R?

US State Level MMR Vaccination Rate

Creating maps is one of the most powerful ways to visualize data, and R’s ggplot2 package makes it surprisingly straightforward. In this tutorial, you’ll learn how to build beautiful and informative US maps from the ground up. We’ll guide you step-by-step through creating both state-level and detailed county-level maps. Then we will see how to… Continue reading How To Make US State and County Level Maps in R?

How To Avoid Overlapping Labels in ggplot2?

Dodge Overlapping X-axis Text with guide_axis() in ggplot2 3.3.0

A common problem in making plots, say a barplot or boxplot with a number of groups is that, names of the groups on x-axis label often overlap with each other. Till now, one of the solutions to avoid overlapping text x-axis is to swap x and y axis with coord_flip() and make a horizontal barplot… Continue reading How To Avoid Overlapping Labels in ggplot2?

Multiple Line Plots or Time Series Plots with ggplot2 in R

Multiple Line Plots with ggplot2

Line plots or time series plots are helpful to understand the trend over time. In this post we will learn how to make multiple line plots (or time-series plots in the sample plot) in R using ggplot2. Let us load tidyverse the suite of R packages including ggplot2 to make the line plots. We will… Continue reading Multiple Line Plots or Time Series Plots with ggplot2 in R

How To Make Ridgeline Plot with ggridges in R?

How to Order Ridgeline Plot?

Ridgeline plot is one of the data visualization techniques that is suitable for visualizing multiple distributions or changes in distributions over time or space. Claus Wilke made created this plot and a package in R to make this easily. He defines it as a partially overlapping line plots that create the impression of a mountain… Continue reading How To Make Ridgeline Plot with ggridges in R?

How To Make Violin Plots with ggplot2 in R?

Horizontal Violin Plot Ordered: ggplot2 R

Violin plots are a way visualize numerical variables from one or more groups. Violin plots are similar to box plots. A boxplot shows a numerical distribution using five summary level statistics. Violin plots have the density information of the numerical variables in addition to the five summary statistics. In this post we will learn how… Continue reading How To Make Violin Plots with ggplot2 in R?

Exit mobile version