I am developing a tool in JavaScript for rendering graphs. A rendering function accepts formatted data and draws images anywhere on document or a canvas container. There is a demo of it on JSFiddle http://jsfiddle.net/JS2DX/9cFaC/