Live data from Hacker News

Show HN: Voting Relationships in the US Senate

static.davidchouinard.com

31–40 of 50 posts

Re: Show HN: Voting Relationships in the US Senate

#31
Interesting analysis, David. I actually got strikingly similar results looking at voting matrices and using SVD to turn them into two dimensions: http://vikparuchuri.com/blog/how-divided-is-the-senate/ and http://vikparuchuri.com/blog/the-danger-and-power-of-visuali... . I assume you did something similar.

Either way, it's surprisingly easy to get access to this data, and fun to analyze. I have the scraping code on github (described in my blog) for anyone who is interested.

Re: Show HN: Voting Relationships in the US Senate

#32
post #3

There's probably some cool insights in here, but I'll need some help understanding it. For instance, what does an edge in the graph represent? What can I tell from the boldness of the line? @DavidChoinard can you give us a key?

The thickness of edges represents the number of times the pair of senators voted the same in the Senate (only edges above a threshold are shown). The two tightly coiled clusters shows just how weak the relationships are between the two parties. The closer the nodes are to the center, the more bipartisan those Senators are. In the current Congress, Sens. Murkowski and Collins really stand out as by far the most bipart…

Have you considered doing PCA and plotting the first two principle components?

Re: Show HN: Voting Relationships in the US Senate

#33
post #15

For those interested, I believe the underlying data is from DW-NOMINATE ( http://voteview.com/dwnomin.htm ).

The data is actually from GovTrack.us, which I suspect is also where DW-NOMINATE gets it. My script for querying GovTrack is on Github: https://github.com/DavidChouinard/congressviz

Very cool!

Re: Show HN: Voting Relationships in the US Senate

#34
post #14

Can someone make a glass app that covers a politicians face with the logos of their largest interests? That would make politics bearable for me.

Their suits could have logos on them, sort of like boxers' robes.

People have made the "NASCAR jumpsuit covered with logos from donators" suggestion/joke for years. There was even a White House Petition for it: http://www.huffingtonpost.com/2013/03/20/white-house-petitio...

Re: Show HN: Voting Relationships in the US Senate

#35
Really cool! In addition to the comments others are making, I would recommend making the intensity of the base blue and red colors match. The democrats look more intense than the republicans just because of the color choice when given how interlocked they are, I assume the average blues are probably about the same as the average red. (Also a legend would help.)

Awesome work!

Re: Show HN: Voting Relationships in the US Senate

#37

Nice work David. For anyone interested in this type of analysis, Harvard has a new Data Science course this semester that had this node relationship analysis as a HW using the same data sources. You can check out the course site at: cs109.org

Best thing I've seen all day. Thanks for sharing!

Re: Show HN: Voting Relationships in the US Senate

#38
post #11

Earlier quoted context omitted.

+1 If the author could get data from 1980-2013, and make it into a 60 second animation, it would be really interesting to see.

I've definitely considered that, but it's computationally difficult to make it in the browser. This animated gif is as close as it comes: http://i.minus.com/ibi7p66VbETpnU.gif

This is illuminating, also would be if you could add years to each slide that would be even more fascinating. Great work and thanks for sharing!

Re: Show HN: Voting Relationships in the US Senate

#39
post #3

There's probably some cool insights in here, but I'll need some help understanding it. For instance, what does an edge in the graph represent? What can I tell from the boldness of the line? @DavidChoinard can you give us a key?

The thickness of edges represents the number of times the pair of senators voted the same in the Senate (only edges above a threshold are shown). The two tightly coiled clusters shows just how weak the relationships are between the two parties. The closer the nodes are to the center, the more bipartisan those Senators are. In the current Congress, Sens. Murkowski and Collins really stand out as by far the most bipart…

A more plausible reason for why Democrats would be more "partisan" is because moderate Democrats have been defeated by Republicans in recent elections, particularly in red states. This will likely be more pronounced if people like Mary Landrieu and Mark Pryor are taken out.

Re: Show HN: Voting Relationships in the US Senate

#40
post #8

This algoritm pragmatically computes how far left/right a senater's polical views are by placing them in the corresponding place on the page

I am not sure this is correct.

1) How are abstentions counted? Does a senator that abstains more get pushed out towards the edge for having less connections in general?

2) If a party member votes 100% along the party line, then they will be towards the center of the blob. If a party member is less partisan in the fashion of voting WITH bipartisan consensus then that person is gets put in the center. If a party member is less partisan in the fashion of voting AGAINST bipartisan consensus then they would be on the edge far from the center.

Post reply on HN