In this post, we will learn to make simple animation in R using gganimate package. gganimate R package is a powerful package to make animation using R. gganimate extends the grammar of graphics as implemented by ggplot2 to include the description of animation. It does this by providing a range of new grammar classes that… Continue reading How To Make Simple Animation in R?
How To Make Scatter Plot with Regression Line using Seaborn in Python?
Adding regression line to a scatterplot between two numerical variables is great way to see the linear trend. In this post, we will see two ways of making scatter plot with regression line using Seaborn in Python. And we will also see an example of customizing the scatter plot with regression line. Let us load… Continue reading How To Make Scatter Plot with Regression Line using Seaborn in Python?
How To Make Scatter Plot with Regression Line with ggplot2 in R?
Adding regression line to scatter plot can help reveal the relationship or association between the two numerical variables in the scatter plot. With ggplot2, we can add regression line using geom_smooth() function as another layer to scatter plot. In this post, we will see examples of adding regression lines to scatterplot using ggplot2 in R.… Continue reading How To Make Scatter Plot with Regression Line with ggplot2 in R?
How To Make Simple Facet Plots with Seaborn Catplot in Python?
Facet plots, where one subsets the data based on a categorical variable and makes a series of similar plots with same scale is a great way to visualize when you have a numerical variable and a corresponding categorical variable. It is also known as small multiples as we make a matrix-panel plots of same type.… Continue reading How To Make Simple Facet Plots with Seaborn Catplot in Python?
How To Make Facet Plot using facet_wrap() in ggplot2?
When you have data for a variable corresponding to multiple groups, visualizing the data for each group can be useful. One of the techniques to use is to visualize data from multiple groups in a single plot. However, a better way visualize data from multiple groups is to use “facet” or small multiples. ggplot2 makes… Continue reading How To Make Facet Plot using facet_wrap() in ggplot2?