Monday, 3 October 2016

Brewdog: Stick to the Beer

I've written about non-normalized choropleths before (e.g. here and here and here) but when one of my favourite breweries makes the mistake I feel compelled to mention it again.

Brewdog are setting up in the USA. This is a good thing because their beer is spectacularly good. I have become an investor in their USA Equity for Punks campaign to support their efforts. But they need a cartographer because their maps are spectacularly bad.  They've been running this map showing how investors are spread across the US.

Clearly they're mapping totals as a choropleth which as most who know me will know gets me really rather upset. I mentioned this to Brewdog but their reply suggest (a) they don't get it and (b) they don't care.

Yes, I get that it's a bit of a fun but that's not actually a good excuse for making a crap map.  I could make some shitty home brew just for fun as well but what's the point of that? I'd rather try and do the job right and make something that tastes good. They've also used a poor blue to red colour scheme but that's a different argument. Anyway, I have offered to help them correct it so just because I can, here's a couple of efforts whipped up in less than an hour.

Here's the (incorrect) totals version as a choropleth in Punk IPA colours:

And here's the same data of the number of investors, normalized by the number of people over 21 (drinking age) in each State to create a 'Punks per Million' map. I guessed on roughly what the data might be from their original map:

Compare thee two maps. You see - because the population of each state differs massively and the size of States differs massively, using totals inevitably skews the map numerically and visually and you get a warped sense of reality. Texas will always come out as a lot. Montana always not. But actually, as a proportion of the population, there are more Punk investors in Montana than Texas. Ohio still gets shown as having the most investors because they have a lot (as totals) and as a proportion of their population and that's where the new brewery is. But California isn't a stand-out because it has roughly the same Punks per million as Oregon and even Wyoming.

Still want to map totals? Well use a proportional symbol map:

There you go - now you can clearly see the huge difference in the pattern of investment between states. And if you want to Punk out the map...well go right ahead:

And yes, I used the same bottletop technique on this quick map as I did on the much larger Breweries of the World map which, if you want a copy, can be downloaded here.

So, Brewdog. I like your beer a lot. You take great care to make it right. I like maps a lot and I take great care to make them right. You stick to brewing and I'll keep drinking your beer. I'll stick to making maps. If you want some help with the maps, just drop me a line.

Wednesday, 20 July 2016

Taste the rainbow - third helpings

If I'm going to have a carto-argument I may as well have it with the President of the United States.

Today, President Obama used this tweet to encourage us to be aware of rising temperatures and the need to stay safe and watch out for others. I have no qualms with the intent but as you'll appreciate, the cartonerd in me got quite irked by the leading statement.

"This map says it all". Well despite rainbow colour schemes being used to death to map anything and despite people preferring their own facts and telling me everyone understands the scheme I resolutely beg to differ.

I wrote about this problem several times before herehere and here. And so have others here, here and here. Rainbow colour schemes do not work well for numerical data where the analytical task is to determine what is higher and what is lower across the map.

Put simply, our brains do not process colour (strictly speaking hue) in a way that tells us a quantitative difference between them. Different hues (yellow, red, blue etc) work very well for showing qualitative differences on a map. Single hues, that vary from light to dark, or even a dichromatic scheme that blends a couple of colours do a much better job at encoding a quantitative difference.

In the map above, there's no logical consistency in the brightness of the colours. Some stand out more than others. Magenta is arguably the colour we see as the brightest yet there's a sort of light cream colour in there that actually means 'more'...and that's before we get to yellow. Yellow is not 40 degrees hotter than cyan on the spectrum either. Rainbow schemes are not perceptually uniform, they modify meaning beyond what the data supports and create visually false boundaries. You could also easily reverse the scheme and it'd make just as much sense.

The argument that people understand it is borne out of the simple fact they see them every day so they believe they understand them. They're conditioned to them. It's called brainwashing. I get it, We're all liable to a bit of brainwashing from time to time and just because you relate hot with red and cold with blue then it's all good OK?

Well no...because on this map yellow, magenta, a light pink and burgundy is hotter than red which happens to be in the middle of the spectrum. And how hot is green exactly? I've never been green-hot. I would still argue vehemently that without a legend these sort of maps are harder to interpret than they need to be.

Given in every other aspect of life people seem to want the easiest, laziest path of least resistance to something, why they force their brains to interpret rainbows baffles me. More so, the arrogance of constantly using your own facts to contradict cognitive science just shows a complete unwillingness to accept a better way. Hell, rainbow palettes aren't even 508c compliant!

End rainbows! #endtherainbow

Saturday, 16 July 2016

Chip paper silly season

It's likely most will have already forgotten that a few days ago the Wall Street Journal published a short article on Null Island. After all, today's news is tomorrows fish n' chip wrapping.

A couple of months ago a journalist contacted me wanting to chat about this mythical place he'd heard of. I agreed. It was supposed to be background for the piece he was writing but I made it clear I was not qualified to be regarded in any way as an expert or even protagonist for the rise of the Republic of Null Island. We spent well over an hour chatting about basics of cartography, maps and such like. We got into coordinate systems, datums, map projections and so on.

I never got to see a draft of the article but there it was, front page of the Wall Street Journal. In some ways it was a nice piece for a general audience but tucked away was this fantastic quote I'd apparently made: “There is a lot of terrible-terrible-terrible math involved,”. Did I say that?

To be honest I can't recall but the conversation was about the need for different local coordinate systems and because the earth was a geoid (I never said lumpy egg-shape) that involved maths to make flat maps. I am liable to the odd quip but I can't recall saying 'terrible' three times. Maybe I did, but the point I was making was that making maps involves maths and it can get rather complicated whereas the article juxtaposed that alleged quote with something unrelated to what we'd discussed.

By the way, that's maths with an 's' because I speak English English, not American English. I entirely understand the s being dropped as it's a U.S. publication but it did cause amusement among a good number of my geo-pals.

The paragraph then went on to label me a 'Senior Cartographer'. Umm - nope. No such job title at the place I work. The full title of my employer was written out (despite it hardly ever being used these days to my knowledge) and then another alleged quote was appended: “Every part of the planet differs from every other part and that is why we have all these different maps.” shit Sherlock! Again, I was actually referring to different coordinate systems as context for that but clearly that was deemed irrelevant.

So what's the problem? Ultimately it's just a media piece. My grand contribution boiled down to two pretty pathetic alleged quotes in an otherwise decent piece.

The bigger problem lies in the fact that so many journalists these days seem hell bent on taking information they gather from numerous sources (often Wikipedia, organisation web sites and LinkedIn) and just pasting it together in a way that they think makes sense. Context is lost. quotes appear uninformed and vapid. And in only a few lines the article managed to make me sound daft, give me a different job, include my employer's details (despite this having nothing to do with my employer) and dumb down the conversation we had to a banal au jus. This has consequences. I get a good ribbing and some eyebrows are raised. For the reader, they take away something only half-formed and that can then propagate. I guess this has always been the case with news media. It's not the first time I've been involved in a piece that ended up less than impressive.

Thankfully I did urge the guy to contact Nathaniel Vaughn Kelso which he obviously did and it can't be a bad thing that he and others get recognition.

And just as I thought things had died down someone on social media posted a link to the article clearly suggesting that I had said Null Island was "a place for people who can't use maps". I never said that. Neither did the article.

Lightweight reportage followed by Chinese whispers (that's the 'telephone game' for U.S. readers).

Silly season has arrived. Anyone fancy a chip?

Friday, 22 April 2016

Cartographic Cost of Open

The recent retirement of Kobe Bryant of the LA Lakers had the LA Times reveal a beautiful map of every shot he ever took - all 30,699 of them. It's a lovely piece of large scale mapping that sits at the intersecton of data art and information graphics. You really should see the live interactive map here because the screengrab below doesn't do it justice. That said, I'm sure you'll already have seen it. The LA Times also gave us a great 'how did we do it'.

My good friend Mike Gould this morning posted this:
My thoughts on this congealed over breakfast, spurred on by a twitter conversation I followed in the wake of the LA Times map on Bryant's shots. Mike's right in many respects - he's alluding to the idea that it's getting a little tedious seeing so many so-called re-inventions of maps.

You see, this sort of shot chart/map has been done before, most notably by Kirk Goldsberry who also mapped Bryant's shots back in 2013.

Plotting data points on a map is not a new phenomena that began with Kobe Bryant shot data but a few people pointed out the similarity between the LA Times version and Goldsberry's. There's no getting away from the fact they do look similar but - same dataset (although LA Times is more up-to-date), same court structure (hard to get away from though LA Times flipped the court) and same colours...well, any self respecting map-maker would inevitably use the Lakers' purple and gold colour scheme in their overall design.

So what? To my mind there's no copyright or Intellectual Property Right on a mapping technique. Yes, there's a lot of copyright associated with cartographic brands - because the style of a map or a map series often goes hand-in-hand with a long-term objective for brand recognition. Think of any major mapping agency such as SwissTopo, National Geographic, Ordnance Survey. Think London Underground. Think New York Times graphics. They are all very protective of their brand which is really just a function of the very particular style they have designed and honed over many years. Yet many other people use the same mapping data and make maps of the same places that all these mapping organisations do. That's what's happened in this era of open data. Mapping data has become democratised, often emancipated and made available to everyone, not just the big cartographic and media guns. Further, data feeds and all sorts of interesting datasets (like basketball shots by individual) are made available for free or at low cost. It brings tremendous access to the data and inevitably, a clamor to map it. It's therefore inevitable that similar designs will emerge.

But c'mon - the fact that one person makes a map of the data and then someone else does really shouldn't get people so upset because you can't have it both ways. All this free and open data does not come with a disclaimer that:

1. If you are the first to make a map with it you win and no-one else can
2. If you settle on a design that riffs off others then sure, give them a nod, but it's not obligatory

Importantly, you should probably be aware that you probably weren't the first anyway. The same thing has happened with the NYC taxi cab data. There are plenty of people doing very similar things. That's the cartographic price of open. We're getting a lot of maps shouting and competing for attention, all clamoring to be seen as original, distinct and the best.

This presents real tensions. I often get asked if you can create a particular map using Esri software and the answer is almost always yes BUT...and it's a big but...if another mapping company has an example of that type or style already (or someone who is a proponent of an alternative mapping platform has made one) then if I go and make one that looks similar guess who gets slated? For instance - making stacked chips on a map is neither new or difficult. Erwin Raisz was doing it by hand in the mid 1900s for example. I had a good friend make one in our University project atlass in 1991. If I go and make one now I don't get accused of copying Raisz...I get accused of copying a more recent viral version. This mindset of attributing originality and intellectual property to only recent versions of techniques is baffling and damaging. The fact you can use any number of different pieces of software to deploy a particular mapping technique is a good thing but please don't see that technique as belonging to one person or organisation over another.

I've had similar experiences in the past and, again, recently. I'd been playing with the Mars MOLA elevation data as a bit of a side project and then Chris Wesson drops his very elegant map - in the style of an Ordnance Survey map sheet. Now, Chris works at Ordnance Survey so he's entitled to use that design and it's an interesting take on how to process the data. Then Eleanor Lutz published a lovely hand-drawn map of part of Mars herself. And what of my map of Mars? - well, was I relegated to the third person to get their Mars map out? It depends when your starting point is.

Maps of Mars have been made ever since Giovanni Schiaparelli had a go in 1880. USGS has been publishing topographic maps of Mars for decades. Do a quick Google search for maps of Mars and you'll see that neither Chris, Eleanor or myself were the first though, to be fair, none of us has claimed to be. We just used the same data, did something different and hey presto - three more maps of Mars.

The crux is that if the data exists, people will map it. We really should stop being so precious about one map over another because if truth be told, pretty much nothing is actually that original any more. It's true that some maps bubble up and become internet stars and they are often seen as the version that people see as definitive. But it doesn't and shouldn't stop people from using the same data and even using some of the same ideas. Let me be clear - blatant rip-offs do exist and should be pointed out as such but there's often a fine line as I personally feel the LA Times map illustrates. Organisations and individuals have also developed very specific styles and these too should be seen as something worth protecting. But why would LA Times use triangles for the symbols and colour them in red? Makes no sense. It'd make a crap map. As long as they use circles and purple they run the risk of getting accused of some level of plagiarism.

Cartographic techniques are not copyrighted. I never see anyone reference Baron Pierre Charles Dupin in the footnotes of their choropleth maps, or countless weather map organisations as inspiration for the hideous rainbow colour palettes that seem to have become de facto in mapping weather. So - the LA Times need not reference Goldsberry's work or, indeed, John Snow as an early example of mapping discrete events in space using single symbols to see a pattern emerge (and that's not including the use of dots in demographic mapping going back to the early 1800s).

My data has brought a wealth of new maps to the canon. They build off the legacy of many that have gone before but hardly any are truly unique. If we are happy to support the notion that we want open data and open access to data we have to also be happy with the notion that cartographic techniques and their use are also to use and (as we often see), open to abuse.

Now go and search Google for Kobe Bryant shot'll see plenty more and also a load of hex-binned versions and so-called heat maps to boot. That's another story.

Finally - just a heads up...If I can find time, I'm going to try and make a map of some aspect of England's 1966 World Cup win as it's the 50th anniversary in July this year. I'm quite sure no-one else knows of this and no-one will either be thinking of making a map or of using the same data.