Site icon Accidentally in Code

Visualizing Your Twitter Network

Visualizing your Twitter Network

This is what I’ve been working on lately – it graphs who you’re having a conversation with on Twitter (and who they’re having a conversation with). I’ve got some more stuff to add to it, but I’m pretty happy with how little time this has taken (coding time, perhaps 10 hours?).

There were 3 phases to this mini-project.

Phase 1: API calls to Twitter to get the data. This tutorial and code sample was helpful, as was the Twitter API documentation.

Phase 2: Converting to GraphML. Pretty easy once I’d read the GraphML Primer and with the use of the W3 Schools XML validation.

Phase 3: Visualize. Something that Prefuse makes incredibly easy, this graph is a modification of their example.

Next

Exit mobile version