Canviz would be a good place to start. There are heaps of other Javascript graphics libraries, but I don't know if they can draw an arrowhead line. 10 Best Javascript Drawing and Canvas Libraries