I’ve been thinking a lot lately about social networks, and in particular, have been thinking about the fact that among a certain demographic (liberal, educated, obsessed with pop culture from a particular era) there’s a pantheon of geeky idols. When you see (below) the sort of people, bands, movies and shows that I’m talking about, my bet is that you’d be able to fill in the rest of the table nearly identically. I was most curious about who connects to who, and how we all seem obsessed with many of the same people.
Unfortunately, I couldn’t find any good, simple-to-install and free network visualization software out there, so I decided to write my own. A few notes:
- You need to have visual python installed on your computer
- To run the program, simply use: python tree.py [inputfile]
where the inputfile has an ordered list of people, the coordinates on which they are to appear, and their “weight” as geek celebs. It also lists the interconnects.
- While running, you can execute the following commands:
- ‘+’ – Allows you to make a new node (if you which to cancel, press tab)
- Click and Drag from one node to another makes a connection
- ‘-‘ – Destroys a connection
- Click on a connection or a node allows you to edit the name (press enter when done)
- Rightarrow increases the weight of a node or the strength of a connection
- Leftarrow decreases the weight of a node or the strength of a connection
- ‘p’ – prints the current configuration of your network to standard out. You can use this to make an input file, or if you simply pipe the code to a file, it will be made automatically.
It’s pretty cool. It will dynamically re-adjust itself to space the nodes such that their geometric separation is related to the number of degrees (and strength of those degrees) separating them.
And now, on to the pantheon! (link takes you to the input file for my current list):
This is also good for making other networks. For example, I made a very nice network of how I know my close friends, but I’m quite disinclined to post it here.
Have fun! And if there’s someone you think should be in the pantheon, let me know.