How to: make a scatterplot with a smooth fitted line
![](https://i0.wp.com/flowingdata.com/wp-content/uploads/2012/01/loessplot-revised.png?fit=625%2C425&ssl=1)
Oftentimes, you’ll want to fit a line to a bunch of data points. This tutorial will show you how to do that quickly and easily using open-source software, R.
![](https://cdn.serc.carleton.edu/images/mathyouneed/nafinalbfl2.webp)
Constructing a best fit line
![](https://media.geeksforgeeks.org/wp-content/uploads/20230115173031/Screenshot-2023-01-15-172903.png)
Joining Points on Scatter plot using Smooth Lines in R - GeeksforGeeks
![](https://i.imgur.com/83Jfspe.png)
Karl Arao's TiddlyWiki
![](https://r-graphics.org/R-Graphics-Cookbook-2e_files/figure-html/FIG-SCATTER-SPLOM-PANELS-1.png)
5.13 Making a Scatter Plot Matrix
![](https://i.stack.imgur.com/7L3MY.png)
r - how to insert trendlines in scatterplot matrix - Stack Overflow
![](https://lh5.googleusercontent.com/_F2x5WXOJ6Q8/TZ61tG_iQ0I/AAAAAAAABNY/iKAy7j4Y534/highcpu-5.png)
Karl Arao's TiddlyWiki
![](https://i0.wp.com/flowingdata.com/wp-content/uploads/2010/03/loessplot.png?resize=542%2C327)
How to: make a scatterplot with a smooth fitted line
![](https://genomicsclass.github.io/book/pages/figure/smoothing-loess_final-1.png)
Smoothing
![](https://bookdown.org/rwnahhas/IntroToR/IntroToR_files/figure-html/unnamed-chunk-314-1.png)
6.6 Continuous vs. Continuous: Scatterplot with optional regression line
![](https://stats.idre.ucla.edu/wp-content/uploads/2016/02/unnamed-chunk-3-2.png)
How can I explore different smooths in ggplot2?