Line of Fit

Tune a straight line through a cloud of points and chase the lowest possible error.

How to play

You are given a scatter of data points and a line described by y = m·x + b. Adjust the slope m and intercept b until the line fits the points as the mode demands. Residual segments show how far each point sits from your line, so you can see your error shrink.

Controls

Game modes

Tips & strategy

What you'll learn

Line of Fit makes linear regression and least-squares fitting tactile, letting you feel how a line balances the scatter of data.

About Line of Fit

Line of Fit is an original free browser game from PlayPendium that makes linear regression and least-squares fitting tactile and visual. Play instantly, no install required.

A free, original browser game on PlayPendium — no download, no install. Browse all games →

PlayPendium
PlayPendium · About · Contact · Privacy · Terms · Cookies · Accessibility · Copyright · Browse all games · Inspirations · © 2026