How to calculate line of best fit on Desmos?

Enter your data into a table in Desmos, then type an equation like y1∼mx1+by1∼mx1+b for linear regression. Desmos will automatically generate the line of best fit and display parameters for slope and intercept.