score:3

Accepted answer

There is a NetworkX example here that uses d3.js force layout :http://networkx.github.io/documentation/latest/examples/javascript/force.html

It just writes a JSON format graph object from networkx that d3.js can load in a web browser to get an interactive drawing. That code is a little fancier since it will also do the web browser part for you.

All of the code (including the d3 parts) you need to run it are in the repository https://github.com/networkx/networkx/tree/master/examples/javascript

score:2

If you're fine with an alternative JavaScript framework, we've been building http://www.github.com/graphistry/pygraphistry . The idea is to use WebGL to render the big graphs (pan/zoom/etc.), and offload most of the real-time compute (layout, filter, etc.) to a GPU cloud. There's an API underneath for controlling it similarly to D3. It's easier for most uses however, as it streamlines common big graph manipulations and analyses.


Related Query

More Query from same tag