While making data visualization, often you might want show a bigger level picture and then zoom in on part of the plot. In this tutorial, we will see an example of how to zoom in on a part of plot made with ggplot2 in R. The package, ggforce, made by fantastic Thomas Lin … [Read more...] about How To Zoom in on a Plot in R?
Seaborn set_context() to adjust size of plot labels and lines
One of the challenges in making data visualization is making all aspects of a plot clearly visible. Often, you might see where the axis labels, tick labels are too small and not legible at all. Challenge is that the required sizes of plot aspects like labels, points, lines are … [Read more...] about Seaborn set_context() to adjust size of plot labels and lines
How To Add Regression Line per Group to Scatterplot in ggplot2?
In this tutorial, we will learn how to add regression lines per group to scatterplot in R using ggplot2. In ggplot2, we can add regression lines using geom_smooth() function as additional layer to an existing ggplot2. We will first start with adding a single regression to the … [Read more...] about How To Add Regression Line per Group to Scatterplot in ggplot2?
How To Add Regression Line Per Group with Seaborn in Python?
In this tutorial, we will learn how to add regression line per group to a scatter plot with Seaborn in Python. Seaborn has multiple functions to make scatter plots between two quantitative variables. For example, we can use lmplot(), regplot(), and scatterplot() functions to make … [Read more...] about How To Add Regression Line Per Group with Seaborn in Python?
How To Make Grouped Violinplot with ggplot2 in R?
In this tutorial, we will see examples of how to make grouped violinplots using ggplot2's geom_violin() function. Violinplots are like boxplot for visualizing numerical distributions for multiple groups. In comparison to boxplot, Violin plot adds information about density of … [Read more...] about How To Make Grouped Violinplot with ggplot2 in R?