A demonstration of NetworkX and D3 workflow using Marvel Comics data
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Marvel Comic Network Demonstration

This is a simple demonstration of using NetworkX and d3.js (v4.0) to produce an interactive network graph from a sample dataset. In this case I've used the Marvel Comics Network data from R. Alberich, J.Miro-Julia, and F. Rossello.

The resulting network graph extends Mike Bostock's simple graph demo with some additional features that could be useful for DH scholars interested in networks. I've included a slider that redraws the network based on edge weights, a dropdown for three different types of node centrality, and the ability to click on nodes to see ego networks.

You can see a working demo of the network at this bl.ocks.org page.