Script.js for visualizing plain line graphs