Accidentally in Code

Twitter Graphs

Posted on: October 9, 2009

UPDATE 9/10: Insight into how this works and the rationale behind this in this post.

So after my last post I received a couple of graph requests.

Here’s @map_maker‘s, see how I’ve added the directionality. This one took a long time to build. She talks to a lot of people who talk to a lot of people…

@map_maker's Network

@map_maker's Twitter Conversation Network

And @emdaniels.

@emdaniels Twitter Network Graph

@emdaniels Twitter Conversation Network

This is my boyfriends, @theAlMan. He doesn’t talk to that many people, so I dared to go to a depth of 2.

@theAlMan

@theAlMan's Twitter Conversation Network: Depth 2

My very popular neighbor, @snookca (depth 1 again). He caused a stack overflow…

@snookca's Graph

@snookca's Twitter Conversation Network

@Circuitbomb (depth 1).

@Circuitbomb's Conversational Twitter Network

@Circuitbomb's Twitter Conversation Network

@uOttawaWISE – we’ve not been on Twitter long, but our network is growing! Also – because this one is fairly small you can see the connections really nicely.

@uOttawaWISE Twitter Network Graph

@uOttawaWISE Twitter Conversation Network

@bitswt02

@bitswt02's Twitter Conversation Network

@bitswt02's Twitter Conversation Network

@chrisboivin:

@chrisboivin's Twitter Conversation Network

@chrisboivin's Twitter Conversation Network

@jaxama:

jaxama

@jaxama's Twitter Conversation Network

@cheth (another one to cause a stack overflow!):

@cheth's Twitter Conversation Network

@cheth's Twitter Conversation Network

@sparkyourart (another stack overflow!):

@sparkyourart's Twitter Conversation Network

@sparkyourart's Twitter Conversation Network

Sorry for the delay – I’ve been tweaking my algorithm to produce more balanced graphs. It now takes your last 200 tweets and last 100 mentions (due to search limitations this means there will not be any older than a week) and finds the oldest ID in each set. Then it takes the maximum of these and ignores any tweets older than this ID. I’ve also added node distance coloring, so that the central node is darkest and nodes further from the central node are lighter.

Here’s how my graph looks now (let me know what you think!):

My Twitter Conversation Graph with distance coloring and algorithm modifications

My Twitter Conversation Graph with distance coloring and algorithm modifications

So, @velvetescape and @velvetconnect come next. After hitting the API limit a couple of times (even after I’d tweaked the algorithm – @velvetescape talks to and about a lot of people) I had to do these a little differently. For @velvetescape I changed the depth to 0 so it’s just him and the people he talks to and who talk about him. For someone with this much conversation going on, though, I think it shows it pretty nicely.

@velvetescape's Twitter Conversations - Depth 0

@velvetescape's Twitter Conversations - Depth 0

For @velvetconnect I just changed the number of recent tweets I request from the API. Normally I get 200 most recent tweets and the last 100 (or week) of mentions but this just wasn’t feasible so I cut these both in half.

@velvetconnect's Twitter Conversation Network (reduced data from API)

@velvetconnect's Twitter Conversation Network (reduced data from API)

@EarleyDaysYet:

@EarleyDaysYet's Twitter Conversation Network

@EarleyDaysYet's Twitter Conversation Network

@jdemond‘s is below. This one is nice – you can really see he’s part of two distinct networks, and that the network to the right has some sub-networks going on.

@jdemond's Twitter Conversation Networks

@jdemond's Twitter Conversation Network

@tipexxed:

@tipexxed's Twitter Conversation Network

@tipexxed's Twitter Conversation Network

@boristopia:

@boristopia's Twitter Conversation Network

@boristopia's Twitter Conversation Network

@CozyCabbage:

@CozyCabbage's Twitter Conversation Network

@CozyCabbage's Twitter Conversation Network

@LALALAMBRIT:

@LALALAMBRIT's Twitter Conversation Network

@LALALAMBRIT's Twitter Conversation Network

@wandywanz:

@wandywanz Twitter Conversation Network

@wandywanz Twitter Conversation Network

@dlitz:

@dlitz's Twitter Conversation Network

@dlitz's Twitter Conversation Network

@KristinaThorpe – this one was interesting! I didn’t hit the API limit but I did run into problems with the visualization engine that prevented it from rendering – not sure why, but I think it may be due to the graph being very densely connected. I reduced the API data by 25% (last 150 tweets, last 75 mentions) and that fixed it!

@KristinaThorpe's Twitter Conversation Network

@KristinaThorpe's Twitter Conversation Network

Graphs continued on this page.

If you want your graph done, let me know via Twitter or in the comments and I’ll put it up here for you. Feel free to use the image anywhere you’d like (ask me for a higher quality one if you need to), but please link back to this! Thanks 🙂

Advertisements

33 Responses to "Twitter Graphs"

[…] Twitter Graphs « Kitten’s Thoughts kittenthebad.wordpress.com/2009/10/09/twitter-graphs – view page – cached Here’s @map_maker’s, see how I’ve added the directionality. This one took a long time to build. She talks to a lot of people who talk to a lot of — From the page […]

Ha, that’s amazing! Does it eat up all your API usage?

Depends who I’m graphing, have to space them out a bit too! 🙂

I would love one done for my twitter account… but i guess its going to hog up a LOT of api…

Sure, I’ll add you to the list.

So cool! I’d love one if you get a chance! Thanks, Ellen @sparkyourart

On the list. Should happen later today so check back 🙂

This is really cool. Would love to see how my two Twitter accounts: @velvetescape & @velvetconnect compare. I’ve sent u a tweet. Thank you Cate.

Best regards,
Keith

You’re on the list 🙂

This is AWESOME! Thank you so much Cate! I plan to use it on my Velvet Connect site and will absolutely link back. Thank you once again. This is brilliant stuff!

Cheers,
Keith

@Keith No worries – glad you like it! Need to try and get whitelisted, if I do I can have another go at graphing your full network, lol! 🙂

Ooh, me please!  Should be easy-ish, I post a lot but don’t have a lot of traffic coming back… Thanks! 

You’re on the list 🙂 Check back – will do it as soon as I can but may be tomorrow due to API limits.

Thank you!  Love your work…

[…] Twitter Graphs « Kitten’s Thoughts […]

Can you do a graph for @CozyCabbage?

These are amazing! When you have time could you do a graph for @LALALAMBRIT? Thanks so much

Sure – I’ll add you both to the list. ETA in the next day or so OK?

Wow. That is very interesting. Can I have one done too?

Sure! Will be a short wait but I’m getting through them as fast as I can (API limit is the major bottleneck).

Thank You so much these are beautiful!!!

It’s a pleasure! Check back soon, new viz coming 🙂

These are so beautiful! As well as being very useful in helping you see your connections and networks. Could I have one please? @RebekahHarriman

Sure, should happen today 🙂

Thanks so much! I will retweet x

Thanks!

I think you’d get better results if the lines were semi-transparent, so that you’d be able to see where they are when things are overlapping.

Hmm that’s probably true, I’ll have to see if I can do that. In the applet though you can actually move stuff around and drag the graph etc. It’s fairly interactive, although for bigger graphs not always that responsive.

Geez. The graphs are proof that Twitter is awesome. And crowded like myspace was. But I am addicted.

[…] Bad‘) is a Masters student in Computer Science at the University of Ottawa. Cate devoted an article on her blog to mapping peoples Twitter conversations. The results are striking. By adding levels of […]

[…] as my graphs went slightly viral! See this link to see how many times they were […]

[…] frankly been amazed by the number of hits I’ve had on my Twitter Graphs since I put them up yesterday. This is the first phase of something I’m working on, so […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: