“Though America’s political polarisation has become a fact of life, it has never been seen so graphically: as a diseased brain, with few neural pathways between the two hemispheres.”
- The Economist, December 7 issue
Using voting data from the 101st Congress through the 113th Congress, I created a series of network visualizations like the one below showing voting relationships between US senators.
This image and twenty-four others like it can be found in this album. I used these visualizations to create the animation below, which illustrates a widening gap between Democratic and Republican senators.
I made the graphs using Gephi, roll call data from GovTrack, and this Python code. In each graph, edge (u, v) is assigned weight equal to the number of times Senator u and Senator v voted the same way, either Yea or Nay. For the sake of clarity, I filtered out edges with weight less than 100; these lighter edges generally indicate agreement on procedural votes.
The clusters you see in each graph are the result of using Gephi’s Force Atlas layout, which applies a force-directed algorithm to the graph and causes those nodes connected by heavier edges to be pulled together more tightly. A nice side-effect of using this physics-based model is that more bipartisan senators are pushed closer to the center of the graph, near the party divide, while less bipartisan senators are repelled outwards toward the perimeter of the graph, furthest from the party divide.
These network visualizations were first featured on the Yahoo! front page.
The Economist then picked up the story, running this short piece in the print edition of the newspaper dated December 7, 2013. The Economist also produced the following narrated animation.