Live data from Hacker News

The Vector Space of the Polish Parliament in Pictures

marcinciura.wordpress.com

21–23 of 23 posts

Re: The Vector Space of the Polish Parliament in Pictures

#21

Fun! Just used the data to see which politicians vote together: http://imgur.com/pYHXO4f :) Edit: thinned it out to politicians who vote together > 75% of the time: http://imgur.com/NfxDY6H .

Looks cool. What do the colors of the nodes mean? If they represent parties, then you have probably merged PO into PiS. Also, how do you choose which nodes to label?

Re: The Vector Space of the Polish Parliament in Pictures

#22
post #21

Fun! Just used the data to see which politicians vote together: http://imgur.com/pYHXO4f :) Edit: thinned it out to politicians who vote together > 75% of the time: http://imgur.com/NfxDY6H .

Looks cool. What do the colors of the nodes mean? If they represent parties, then you have probably merged PO into PiS. Also, how do you choose which nodes to label?

Colors are mapped to parties. po is on left (light blue), pis on right (dark blue). As is pretty clear, claimed affiliations don't match real behavior.

Layout = forceatlas2 and labeling is random due to a glitch (normally biggest node in a region.)

Re: The Vector Space of the Polish Parliament in Pictures

#23
post #18

Very nice, but it's a bit sad that names are overlapping (thus it's harder to read/identify them). Any hopes of an interactive version? (Shiny, Bokeh, D3js, or Plot.ly... - just anything I can zoom or lookup names.) And thanks for sharing code as well!

Thanks for the tip! Now linking to a Bokeh-based version as well.
Post reply on HN