/click

Website that draws a line of best fit by clicking anywhere.

Primary LanguageJavaScript

What it does

This simple website draws a line of best fit for any set of clicked points on the screen.

title screenshot

linear screenshot

sqrt screenshot

Try It Out!

Click here to try it!

Controls

  • Left-click anywhere to draw points for a line of best fit to represent.
  • Right-click anywhere to remove all points and reset everything.

Tools

  • HTML, CSS, JavaScrpt
  • jQuery
  • Regression NPM Module

Concepts Applied

  • Linear Regression
  • Event Listeners
  • DOM Manipulation
  • CSS Animations