Here an example of Cubic Regression with JavaScript.
You put values and get the parameters of the expression.
Another possibility is to use Google chart:
http://kio4.com/appinventor/169D_javascript_graficos.htm
Elisa online:
https://www.elisaanalysis.com/app