Click two points to make a line will make that line into a function. plz, let me know if you find errors.
Credit to Sen Zen for amazing videos on how to turn anything into a graph. https://www.youtube.com/watch?v=AI0_sBH1xCw&t=266s