✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚾️ It's finally Baseball season! Root for the home team... & Register for our Sports Analytics Webinar!

Linear Regression in scatterplot

Are there any examples for creating Linear Regression lines in a scatter plot?
Or some pointers would be nice.

duplicate of Fitting function with plotly.js