One of the common failures of making a data visualization is wither not having a title for plot or having a title that is not easy to read. Making the title in bold can help making the visualiation better. In this post, we will learn how to make the title of plot made with ggplot … [Read more...] about How To Make Title Bold in ggplot2?
R
How To Remove X Axis Tick and Axis Text with ggplot2 in R?
Sometimes when you make a plot in R you might want the plot without ticks and text on axis. In this tutorial, we will learn how to remove x-axis or y-axis ticks and the text in R with ggplot2. Let us first load tidyverse, a suite of R packages from RStudio. Let us also load … [Read more...] about How To Remove X Axis Tick and Axis Text with ggplot2 in R?
How To Make Lollipop Plot in R with ggplot2?
In this post, we will learn how to make lollipop plots in using R. Lollipop plots or lollipop charts kid of related to barplots or scatter plot when one of the variables is categorical variable. We will use NYC flights data from nycflights13 R package. Let us load tidyverse … [Read more...] about How To Make Lollipop Plot in R with ggplot2?
How To Color Scatter Plot by Variable in R with ggplot2?
In this post we will learn how to color scatter plots using another variable in the dataset in R with ggplot2. Scatter plots are extremely useful identify any trend between two quantitative variables. However, often you have additional variable in a data set and you might be … [Read more...] about How To Color Scatter Plot by Variable in R with ggplot2?
How To Color Boxplots By a Variable in R with ggplot2?
In this tutorial, we learn how to color boxplots in R by a variable. With ggplot2 in R, we can color boxplots in multiple ways. In this post, we will first see how to make a simple boxplot in R. And then we will learn how to fill the boxes on boxplot by a variable. Then we will … [Read more...] about How To Color Boxplots By a Variable in R with ggplot2?