w3schools.com › js › js_graphics_canvas
let xMax = canvas.height; let yMax =
canvas.width; let slope = 1.2; let intercept = 70; const xArray = [50,60,70,80,90,100,110,120,130,140,150]; const yArray = [7,8,8,9,9,9,10,11,14,14,15]; // Plot Scatter ctx.fillStyle = "red";…