added error messages
Changed x to upper case
added link
added ModalView and error log
Cleaned up for loop
Added number check valadation
Added error checking for non numerical values
added for loop to convert array string to numbers
Removed for loop
added error checks for length of x and y arrays
Changed for loop to allow better handling of x and y arrays
fixed typo variable was missing a $
added x values must be in ascending order error
removed if statment
removed line
cleaned up code
Cleaned up code
removed comment about fixing typo
Removed logging statement from error handler
check if xs and ys exist