Interactive network visualisation of murders in The Wire

This month I’ve been studying network analysis and teaching myself D3.js, and I wanted to post something here which combined the two. So I’ve used D3.js to create a force-directed graph of all the murders which take place in the TV series The Wire.

Unfortunately, forbids javascript in its blogs so to get the interative version you’ll have to either click here or on this static picture of the network:

Each of the coloured nodes is a character in The Wire. Shown are the murdered and the murderers, with the colour indicating how they died (or if they survived). If you click through to the interactive version, you can highlight nodes to see character names, or use the out-degree distribution barchart to select characters by the number of murders they committed. You can also double-click on any character to foreground their immediate network.

Continue reading