A plot or graphics made without legible x-axis and y-axis labels is a worthless plot. ggplot2 in R makes it easy to change the font size of axis labels. In this post, we will see examples of how to increase the font size of x and y-axis labels in R, including the tick mark … [Read more...] about How To Change Axis Font Size with ggplot2 in R?
Simple Scatter Plot with Altair in Python
In this post, we will see an example of making a simple scatter plot using Altair 4.0.0. Altair is one latest interactive data visualization library in Python. Altair is based vega and Vega-lite - A Grammar of Interactive Graphics. Let us load Seattle weather data from … [Read more...] about Simple Scatter Plot with Altair in Python
How To Change ggplot2 theme?
ggplot2 offers 8 themes for making plots using ggplot2. By default, ggplot2 uses the grey theme. Here, we will examples of how to change the plot theme from the default grey ggplot2 theme. Let us first make a simple scatter plot with default grey ggplot theme Let us … [Read more...] about How To Change ggplot2 theme?
Scatter Plot with Transparent Points Using ggplot2 in R
Scatter plot is a great way visualize the relationship between two quantitative variables. However, scatter plot can suffer from over-plotting of data points, when you have lots of data. Overplotting plots multiple overlapping data points. One of the solutions to avoid … [Read more...] about Scatter Plot with Transparent Points Using ggplot2 in R
Simple Scatter Plot in R with ggplot2
Scatter plot is a great data visualization tool to visualize relationship between two quantitative variables. We will see an example to make a simple scatter plot in R with ggplot2. Let us first load the ggplot2 package. Let us create a data set and store it in a data … [Read more...] about Simple Scatter Plot in R with ggplot2