Cytoscape.js is an open-source graph library written in JavaScript. You can use Cytoscape.js for graph analysis and visualisation. It's compatible with CommonJS/Node.js, jQuery 1.4+, and plain JavaScript.
Website Demo