Show HN: Beautiful Visualization of Agreement Groups in the US Senate
friggeri.net
friggeri.net
- GEORGE WASHINGTON, Farewell Address, Sep. 17, 1796
Our democracy has evolved into what Washington had prophesied in his farewell address ... a system where diversity of thought and political compromise are rejected in favor of the strength of a unified political party and the power that brings with it.
When political positions consolidate into just two choices, so do the proposed solutions to the world's problems. These solutions are artificially constrained for the sake of political loyalty. Ultimately, party loyalty requires individual politicians to sacrifice their personal beliefs on individual issues ... and once those values have been compromised, the only thing worth clinging to is control.
There is more diversity of thought and action in the U.S. today than at any other time in our history.
If you find any errors in my analysis or have any tips or other interesting pieces of information I'd be really happy to discuss with you.
Dude, check the dates. Two words: Iraq invasion.
Regardless, they might have voted against the operation but then voted for various smaller bills "supporting the troops", which is an entirely reasonable position.
Over time some that voted for invasion adjusted their stance. This may be why you felt there were a lot of opponents.
Which party controlled the Senate that year? It would be interesting to see if switching is correlated to party control. For instance, I see the Republicans controlled the Senate in the 108th (2003-2004).
1. http://en.wikipedia.org/wiki/Left%E2%80%93right_politics#His...
...but if it helps, you made a little English error. Wouldn't even have mentioned if you hadn't said you were French :)
> [Republicans.] Most of which are either moderates or closer to the Democrats than to their own party.
> Olympia Snowe and Susan Collins are the two Republican Senators from Maine which are both regarded to be leading moderates within their party.
Should be "Most of whom..." and "...who are both...".
"Which" is only ever[1] used in relative clauses to describe inanimate objects (as you do correctly five other times in the article). Humans and animals are always either "who" (more personal) or "that" (more impersonal).
Note that's only in relative clauses-- "Which senator is yours?" is fine, but "The senator which represents me" means that I think my senator is a card table.[2]
[1] Outside of the odd dialect, of course.
[2] Not necessarily out of the question.
But as a native speaker "that" sounds slightly more correct than "which" because it seems less formal, however, if I heard a non-native speaker say "which" it wouldn't sound weird nor would it be something I would have corrected them on.
Even so, I wouldn't correct it except that, read uncharitably, referring to a person with an inanimate term could be seen as somewhat insulting. Especially if you're writing about politics, it's probably worth getting right just to avoid that impression.
Using which in a restrictive clause like The senator which represents me... or The road which runs from X to Y... is somewhat uncommon. Both of those examples sound better in American English using that in place of which. If the subjects didn't need disambiguation, though, that would no longer be appropriate, e.g., Senator Jones, who represents me, ... or Foobar Street, which runs from X to Y, ...
As Cushman points out, though, which used on a person doesn't quite work. That can work on a person, though, but who/whom can work for people in both restrictive and non-restrictive clauses.
See http://owl.english.purdue.edu/owl/resource/645/01/ if you want to read a well-structured and thorough explanation.
On a quick google trip I found
[1] Principal Component Analysis of Senate Voting Patterns (http://escholarship.org/uc/item/3xm9z62w#page-1)
[2] Shlomo S. Sawilowsky, Real data analysis; Chapter 28, Principal Component Analysis of Senate Voting Patterns (on Google Books)
* Principal Component and Correspondence Analyses respectively -- http://en.wikipedia.org/wiki/Principal_component_analysis and http://en.wikipedia.org/wiki/Correspondence_analysis
Anyway, in order to obtain groups from PCA (that is, groups which are not only "visual"), one would have to run some kind of clustering algorithm on the reduced data.
[1] http://www.uclouvain.be/cps/ucl/doc/iag/documents/WP125_Saer...
Visually, the result reminds me of [http://xkcd.com/657/] - is this sort of diagram a recognised concept in data presentation, or a new idea?
[edit - hmm... http://en.wikipedia.org/wiki/108th_Congress]
Makes more sense now.
The notion of agreement departs a little bit from the classical fraction of common votes/total votes and instead is based on a vector model of votes, using cosine similarity as a value of agreement. The agreement groups are computed by heuristically optimizing a quantity called the cohesion and which turns out is really correlated to the way people perceive social communities (the old preprint of the first paper: http://arxiv.org/pdf/1107.3231.pdf).
On my to do list: a graph that shows the loss of voters casting ballots. I needed a way to show how postal balloting disenfranchises voters (what it gives, it equally takes away).
Voting age population -> registered to vote -> voter received ballot -> returned ballot -> elections rcvd ballot -> signature verification -> challenged ballots -> overvotes/undervotes, voter intent, adjudication -> tabulated.
I'm afraid your paper's too much for my brain on a Sunday morning, but the diagrams and typesetting look really well done :)
Also, Chrome had some difficulty with typesetting, though it's possible that's a localized issue.
*edit: I figured out why the boxes seem so light - it's because I view my screen at a slight angle. From a straight angle they show up fine.
What kind of typesetting issues did you have, and with which version of Chrome?
The visualization is quite nice, and it would be useful to link to or include some kind of short description about the algorithm and visualization - to give a different example, it looks like the groups are scored numerically but the senators are simply ranked, so I wonder if the algorithm found more than two groups per congress.
About the visualization, it was done semi-manually with a tool I've developed to heuristically minimize the crossings, but their is no way to obtain this kind of layout purely algorithmically (I'm pretty sure it's NP-hard).
it looks like the groups are scored numerically but the senators are simply ranked
Not quite sure what you mean. The groups were positioned in order to have the one with most Republicans on one side and the one with most Democrats on the other one. There were consistently two groups for those sessions, this I can assure you. The order of the senators inside the groups is arbitrary, in order to attempt to minimize the number of crossings and provide a readable output.To support this interpretation, I noticed that the groups are not aligned - see for example George Allen's swerve in the 108th Congress. I suppose I was expecting it too, from having seen some visualization that tried and failed to find a tea party cluster.
I think his R source is available too.
Can you use this to detect issue clusters rather than voting clusters?
I have tried to build subgroup-in-graph detectors with only partial success.
What do you mean exactly by "detect" issues? C^3 should work if there is a notion of transitivity in the network (that is, if A and B are similar and B and C are similar, then with very high probability A and C are similar).
It'd be great to apply your algorithm per issue.
During Camp Wellstone training (grassroots political organizing), they taught us a tool called a Power Map. The two axis are yes v no and influence. You graph each person voting. Then you draw arrows to show who influences who. It helps to identify where you should focus your lobbying.
One point that stood out is that a Power Map is needed to be done for each issue, because many many votes don't come down on partisan lines (eg local and state, ymmv).
2) It's especially true about republicans