a simple canvas based graph display using features of html5