Visualizing a NetworkX graph in the IPython notebook with D3.js