prototype for client side graphing