I am trying to make a graph using python with networkx which has many nodes that can be interactively investigated. I want to be able to click or hover above a node and reveal a label which is otherwise not shown.
D3 seems able to do this well, and there are a couple of python implementations
and
mpld3 works fine for scatter plots but I don't know how to get it to do what I want for a graph...
implementing example code from Drew Conway:
import networkx as nx
from networkx.readwrite import d3_js
gives
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name d3_js
This looks like an error which might have resulted if the forked networkx package was not placed in python's system path....However, I checked the sys path contents and found networkx...so I'm stumped.