The parsing of the < graph> views that are created in XML is performed by the web_graph module. Scanning through this module you will find that a Javascript library named d3js is used to render the charts on the client side. This is the library's web page:
Also, http://nvd3.org/ is used which leverages d3js and adds more charts and functionality.