Draws pretty graphs on a canvas