Tag Archive for 'mapping'

Swedish Politicians on Twitter

Twixdagen does for Swedish politics what Tweetminster does for British. Hampus Brynolf (@hampusbrynolf) just sent me a link to this map he’s pulled together for their blog:

Twixdagen's map of Twittering Swedish politicians - click to visit the original post

You’ll need to click through to his blog post to experience and interact with the map properly.

Hampus says that he used aiSee to generate an SVG file which could then be opened in Illustrator to “search and replace” on shapes, colors and lines (which explains the good-looking graph.)

Can we calculate party affiliation? (the US Congress Edition)

Using nothing more than their public twitter relationships, is it possible to predict whether a US Congressperson is a Republican or a Democrat? The answer seems to be a guarded “yes” — our tools predict correctly 40/46 times (or around 87% of the cases.)

Calculated Party Affinity US Congress

This post follows on from a post earlier today in which I asked, “can we calculate party affiliation?” The data set in the earlier post was gathered from the 16 members of the UK parliament who are on Twitter and the relationships between them.

Tweetcongress maintains a list of US congresspeople on Twitter. Today (February 13, 2009) there are 76 congresspeople on the service, but when I collected my data set of “who follows who” on February 3, 2009 there were only 65. Of these 65, fully 19 (29%) lived a life of noble isolation with regards the network — none of their peers linked to them, and they in turn linked to none of their peers. Removing these Miss Havishams from the data set leaves me with 46 twittering congresspeople who form a network.

Now as both social network analysis and Aesop would have it, “a man is known by the company he keeps.” What I mean by this is that given the partisan nature of politics, we should expect that Democrats will link to other Democrat twitterers more often than they link to Republican twitterers and vice versa. So that’s what NetDraw[1] , the software I’m using for most of this stuff, looks for, or more accurately:

To identify factions, NetDraw software iteratively searches for a distribution of nodes among a selected number of factions to minimise the number of connections between factions and to maximize the number of connections within factions.

Whatever. So I let NetDraw loose on the data, and here’s what it did.

Calculated Party Affinity US Congress

I coloured the nodes red for Republican and blue for Democrats[2], labeled the nodes by party (for the sake of clarity, and for the hard-of-thinking, that’s “R” for Republican and “D” for Democrat) then counted all the nodes where label said one thing but colour another. There were six of these nodes; so NetDraw got the answer right 40⁄46 of the time (just about 87%.) This is less than the astonishing 93.75% accuracy we got with the Westminster twittering members of parliament in the previous post. Nevertheless I think we can safely say that it’s not a particularly integrated (or bipartisan) network if we can predict party affiliation with quite such success.

Here’s exactly the same map with the errant sheep re-labeled with their proper names so it’ll be easier to refer to them (if it helps, you can click on the image to view or download a larger version.)

congress guesswork incorrect labels

You’ll see, I hope, that NetDraw has made a pretty good fist of the job. Where it has gone wrong on the whole is where the data clearly suggests something else. So Rep. Jared Polis for instance follows (and is followed by) no Democrat peers. Rep. Nancy Pelosi (D) and Sen. Richard Durbin (D) follow each other, but since Pelosi is followed by several Republicans and none of her other Democrat peers you can see why the algorithm has made the incorrect guess that the two of them are Republicans. Long-serving member Neil Abercrombie, as discussed in a previous post on US Congress Twitter folk, forms a bit of a bridge between the two parties, so despite his membership of the Congressional Progressive Caucus and liberal voting record, from the Twitter network point of view, his affiliation is somewhat ambiguous.

Sen. McCain follows none of his peers, and appears to inherit his incorrect attribution from Sen. Susan Collins. For the life of me, I can’t work out what makes it think that Sen. Susan Collins is a Democrat. She really isn’t, you know.

Note 1: NetDraw is a free program written by Steve Borgatti from the University of Kentucky. If you’re interested in playing around with this stuff, you’ll need to get yourself a copy.

Note 2: Actually, that’s not true. Despite a friend sharing the simple mnemonic that “‘Republicans’ and ‘red’ begin with the same letter,” I just can’t get it out of my English head that the Republicans should be blue and the Democrats red. As a result I waste precious minutes re-colouring these maps in Illustrator. It is worth pointing out that I also have problems with “left” and “right” on occasion — preferring instead the binary opposition “left” and “No! no! The other left, for God’s sake!”

Can we calculate party affiliation? (The Westminster edition)

This is a follow-up post to Why doesn’t the Tory MP have Twitter friends? — a report on some early research into the interrelationships between the few Westminster MPs who are on Twitter.

According to Tweetminster, the number of UK MPs on Twitter has doubled since this time last month. Where there were eight Twittering MPs, there are now sixteen. Here’s the map that shows who follows whom (the labels may be too small to read — if you want to see a larger image, click on the map.

Actual factions among Westminster MPs on Twitter

I’ve coloured each node to show party affiliation; for those of you who are unfamiliar with British politics, Labour (our left-of-centre party) shows up in red, Conservatives (our right-of-centre party) in blue, and Liberal Democrats (what it says on the tin) in yellow.

The size of each node represents the individual’s “betweenness centrality” — a network analysis term that helps us place a value on individuals within a network. To give you a sense of what it means, the higher the betweenness centrality of an individual, the greater the impact when you take them out of the network. For those of you who work in large companies, it may be worth noting that senior management’s personal assistants generally have very high betweenness — something that is mostly remarked upon when they go on holiday (simultaneous translation: “take a vacation”.)

So far so good. By now, regular readers will probably be kissing their teeth and thinking “so what?” I’ve done a lot of these Twitter maps in the past and the novelty must be wearing off on you by now.

So here’s the thing. There are a few network analysis techniques that let one identify cliques and factions. What we’ve got here is a small set where we already know what people’s affiliations should be. How interesting, I thought, would it be to see how well the calculated result fits the real world data? Here’s what I found:
Continue reading ‘Can we calculate party affiliation? (The Westminster edition)’

Republicans still outperforming Democrats on TweetCongress

Three weeks ago (and at the prompting of my colleague Eddie Garrett who heads up Porter Novelli DC’s digital team) I mapped out the interconnections between US Congress Tweeters. We’d been working on a Twitter crawler and it seemed like a good opportunity to test things out on a new data set.

This is a follow-up post. Once again it was prompted by a third party: Christie Findlay at Politics Magazine asked whether it would be OK to print a copy of one of the maps in their March edition. I’ve heard that three weeks are a long time in politics, so I thought I’d better run the crawl again just in case. Also I’ve got a new crawler that uses the proper Twitter API (I can see some of your eyes glazing over you know. Just skip ahead when that happens.) I’d tried it out on the Porter Novelli data set, but welcomed a chance to try it on something more meaty.

So yesterday morning before work I ran the crawl. I use the excellent Tweet Congress as my source of information about which congress people are on Twitter.
Continue reading ‘Republicans still outperforming Democrats on TweetCongress’

Map of Porter Novelli people on Twitter on 20th Jan 2008

Three days after my last map, and after lots of internal nudging from our CMO Marian Salzman, her two helpers Tikva Morowati and Zeenat Duberia and local activists like Juriaan Vergouw, Burçu Kaptan, and Umut Ersoy, the map of Porter Novelli people on Twitter looks very different. (You can click on any of the maps in this post to go to their Flickr page where you can choose to see them at larger sizes.)
Continue reading ‘Map of Porter Novelli people on Twitter on 20th Jan 2008′

Map of Porter Novelli people on Twitter on 17th Jan 2008

Map of Porter Novelli people on Twitter 17 jan

Marian Salzman (our Global CMO here at Porter Novelli) has had the inspired idea of getting people in the agency to tweet about the most exciting story this week (probably) — the inauguration of Barack Obama

You can see the results of the experiment on her blog.

I’m all for this, of course, for several reasons:

  1. It gets new people onto Twitter
  2. It helps us create a stronger network among Porter Novelli twitterers
  3. It means I can track who at the agency is on Twitter

Continue reading ‘Map of Porter Novelli people on Twitter on 17th Jan 2008′

Network map of US Congress twitterers

This is a map of the current US congressmen and women who are currently on Twitter (you can click it to see a bigger map where you can read the names.) The direction of the arrows show who follows whom, and the size of the blobs indicates how “popular” a given congressperson is among their twittering peers (where “popular” means something like “is followed by many of their peers.”) Colours indicate party affiliation (for those of you who — like me — don’t live in the ‘States and who — like me — need reminding from time to time, the Democrats are the blue dots.)

Network of US Congress twitterers showing "citation frequency"

Network of US Congress twitterers showing citation frequency. Click for bigger.


A cursory glance at this map shows a few things:
Continue reading ‘Network map of US Congress twitterers’

Why doesn’t the Tory MP have Twitter friends?

Relations between MP twitterers

This is a map of the eight Westminster MPs who are currently on Twitter, and the relationships between them. The larger the blob, the more followers they have among their peers. Apparently they’re a fairly clubbable lot, all – that is – except for Grant Shapps who (it seems) currently has no MP friends on Twitter. I’d say that it’s early days yet, but Mr Shapps appears to have been broadcasting since March 9th 2008. That’s an age in Twitter years. In that period, he has replied to 5 people out of a total of 249 tweets. Lots of people have tried to reach him.

I think that it’s nice that he’s so busy (after all, he has a constituency to run and a government to topple) but do think that if he’s going to do this, he ought to pay a little more attention.

Who (other than each other) are MPs most likely to follow? If we wanted to get a story in front of their noses, who would we most want to talk to? Here’s the list. Tweetminster is like Tweetcongress but with more tea and scones and fewer public representatives. The ubiquitous Stephen Fry is in place, of course. It wouldn’t be Twitter without him.

Kerry’s map of the top 50 twittering journalists

My colleague, Kerry Gaffney, has just posted her analysis of the network formed by the top 50 UK journalists on Twitter.

Top 50 UK twittering journalists

She says:

Looking at the original map, it immediately seems obvious that the PR bunnies of the world are far more likely to link to each other, but just to make sure we dropped both datasets through UCInet and looked at the density scores, and sure enough the PR network is almost twice as dense, sharing 1459 ties compared to 785 for journalists. Or a ratio of .595 against .320 for following within the group, so not quite double, but not very far off.

If you’re interested in this sort of thing (and who, these days, is not?) then I recommend that you take a look at Kerry’s analysis.

Map of top 50 UK PR twitter people and their followers

This is not a hedgehog in a cranberry field. It is a network map, but a particularly tightly-knit one.

Spurred on by some of the comments we’ve received about the Rufus map we made of the top 50 UK PR twitter people (as measured by Stephen Waddington) I thought it’d be a good idea to look at this in a bit more depth. Rufus isn’t really the right tool for looking at this kind of thing, so we’ve built something else to do it better. Looking at one site or service is a lot easier than looking at lots of sites — so this took hours, not months to create.

After a little debugging we were ready to test on a seedlist of 50. The crawl took about an hour to run.

This is a visualization of the data set we got (correct as at December 12, 2008) after very little processing.

The size of the blobs relates roughly to “how many people in the group follow you.”

We’ve removed anyone who is only followed by one person in the group. So everyone here is followed by at least two others (obviously.)

There are just too many people in this graph to show labels. And a lot of the top 50 people are hidden by other top 50 people. Maybe I should do a graph rotating in 3D. (Later, having tried this: if I had a SGI workstation, maybe I would.)

What I’ll do over the weekend is process the data files I’ve got (one’s got around 30K records, and the other 40K records) to see if we can tease a little more information out of them.

Then we’ll run this on other twitter communities, and random twitter seedlists to see how (if at all) the networks differ. Are PR people more introspective than the rest of the twitterverse?

This is a very high def image, so it will blow up nicely.