A Html5 canvas graphing demo