This is a JS library to manipulate documents based on data.
The output would be in svg format.
http://d3js.org/
https://github.com/mbostock/d3/wiki/Gallery
This seems to be gaining more popularity. Worth getting equipped in it.
The JS library to build svg charts (http://wyselabs.com/marketinglab/viewto ... f=5&t=3600) is built on top of this D3 JS library only.