The UK Onshore Geophysical Library's William Smith - Interactive has wound me up. It represents a cartofail that's extremely common.
William Smith produced his classic and beautiful maps of the Geology of England and Wales in the early 1800s. They are stunning. making them available digitally is also wonderful but...and this drives me nuts - why oh why, time and time again do we see people scan these wonderful old maps and then warp them to Web Mercator?
There's a reason Smith chose the right projection for his maps....because it was the right projection.
Would it not be easier to just change the projection of the web map service you're using and then allow the maps to be seen as intended? Instead we get the maps stretched and distorted. Horizontal text also becomes stretched and sits on a curve. It looks absurd.
200 years ago Smith made his map right. The very least we can do is honour it by using modern technology to re-present his work properly, not turn the warp factor up to eleven.
Showing posts with label projections. Show all posts
Showing posts with label projections. Show all posts
Friday, 3 February 2017
Wednesday, 1 February 2017
Dangerous times. Dangerous maps.
A map showing the distribution of people on Trump's foreign banned nationals Executive Order appeared recently.
There's a few things that upset me about this map.
Firstly it's non-normalized. It shows totals. Choropleths need a rate or ratio. It was pointed out to me that the map uses Congressional Districts as boundaries and that means the populations are 'roughly' the same so it's all ok.
I'm afraid 'roughly' doesn't cut it. Each Congressional District represents about 711,000 people but you'll notice it's also split by state boundaries so, in fact, it's the data per state that's reapportioned into roughly equally populated areas. That'd be fine for mapping if you discounted Montana, Wyoming, North and South Dakota which encompass one Congressional District each. But they have populations of 1 million, 584,000, 740,000 and 853,000 respectively. None of these population totals can be easily split further without resulting in numbers even further away from 711,000 but it means the map of totals fails to respect these differences. This means the visual message is warped when you're trying to compare across the map. The primary function of the choropleth is to support visual comparison and unless you accommodate the underlying discrepancy in populations it doesn't.
The problem is exacerbated because those States are very large anyway so they inevitably dominate the map. Also, because the map uses the inappropriate Web Mercator projection those northern states are enlarged in relation to the rest of the country too - a further warping that our brains won't adjust for in deciphering the map's message.
There's plenty of other techniques that the map's maker could have used - cartograms, proportional symbols, dot density, hex-binning and so on. Each have benefits and each have drawbacks. The authors said they "wanted to stick with the district boundaries so people could see which district they reside in". So they chose to go with geography so people have less of a barrier to understanding the map. Fine - but the consequence of that decision is you have to be prepared to deal with the inherent cognitive bias and work hard to mitigate it properly.
Even if you think I'm being too nerdy about the issue of totals on choropleths (I'm not) then think about it this way...the map suggests around 3,400 as the bottom value of the highest class in the legend per Congressional District that's a lot of people right? Three and a half thousand of them. As a percentage? Less than 0.5% and, frankly, that doesn't make the map nearly as persuasive. Dig a little further:
So the upper class actually goes from 3,400 to 51,652. And look at how tiny that little place is in downtown Los Angeles. 51,652 people all crammed into Congressional District CA-28 which you can hardly see, compared to 1,620 in North Dakota which you can really, really see. The choropleth doesn't help at all here. A different technique altogether would help. But even at 51,652 that's only 7% of the population. Still not exactly a huge proportion.
The data is also a little misleading. Libya cannot be extracted as a separate country from the American Community Survey used as a source for the map so the 'Other North Africa' designation was used - meaning people not on the banned list are included in the map. How many? Hard to know.
And reds? Hey, this is a sensitive issue. I mean a really f*cking sensitive issue. Red is not the colour to use because it's value-laden. We process it in a particular way and it means 'danger'. If the map is supposed to be an impartial display of the data then red is not the colour to use.
Finally, a friend of mine noted to me that they were concerned that the map even existed given it shows WHERE people on the banned list live. Popups even provide broken down summaries by country. I countered by suggesting that at Congressional District level there's enough generalization to mask real locations but I take the point and it raises an ethical issue for cartography. In a time of unpresidented [sic] political turmoil, is it morally OK to publish this sort of map just because you can easily scrape the data? What purpose does it support? Given the general outrage that the ban on entry from nationals of 7 countries is tantamount to a partial ban on Muslims then the map could easily incite or inflame the situation further. If the intent is to be impartial then you have to be ridiculously careful to ensure you do just that and this map doesn't. Unless you are setting out to be explicitly persuasive or even propagandist, cartographers and map-makers have a responsibility to make maps that are not misleading and when dealing with sensitive subject matter it becomes crucial.
I am absolutely sure that the map-makers here actually had the opposite intention because they include contact details for Congressional Representatives - presumably as a call to action to encourage people to call in their opposition to the ban. Trouble is, for every one that might go to that effort there will be many more that look at a sea of red and interpret it differently. That's the power of maps.
As it stands the map is dangerous. It shows where people live that are currently on a banned list and that serves no purpose. It uses a good technique but poorly which is nothing more than creating visual alternative facts. It uses the wrong projection which exacerbates the problem. It uses slightly dubious data and, certainly, a bad choice of colours. I'd ban this sort of mapping. Period.
You can read the full blog post by the publishers here but here's a screen grab in case the tweet is taken down:Map shows location of foreign-born people from 7 banned countries + elected official contact info https://t.co/uOCkECQI9Z #executiveorders pic.twitter.com/TKYzMLeNOI— Azavea (@azavea) January 31, 2017
There's a few things that upset me about this map.
Firstly it's non-normalized. It shows totals. Choropleths need a rate or ratio. It was pointed out to me that the map uses Congressional Districts as boundaries and that means the populations are 'roughly' the same so it's all ok.
I'm afraid 'roughly' doesn't cut it. Each Congressional District represents about 711,000 people but you'll notice it's also split by state boundaries so, in fact, it's the data per state that's reapportioned into roughly equally populated areas. That'd be fine for mapping if you discounted Montana, Wyoming, North and South Dakota which encompass one Congressional District each. But they have populations of 1 million, 584,000, 740,000 and 853,000 respectively. None of these population totals can be easily split further without resulting in numbers even further away from 711,000 but it means the map of totals fails to respect these differences. This means the visual message is warped when you're trying to compare across the map. The primary function of the choropleth is to support visual comparison and unless you accommodate the underlying discrepancy in populations it doesn't.
The problem is exacerbated because those States are very large anyway so they inevitably dominate the map. Also, because the map uses the inappropriate Web Mercator projection those northern states are enlarged in relation to the rest of the country too - a further warping that our brains won't adjust for in deciphering the map's message.
There's plenty of other techniques that the map's maker could have used - cartograms, proportional symbols, dot density, hex-binning and so on. Each have benefits and each have drawbacks. The authors said they "wanted to stick with the district boundaries so people could see which district they reside in". So they chose to go with geography so people have less of a barrier to understanding the map. Fine - but the consequence of that decision is you have to be prepared to deal with the inherent cognitive bias and work hard to mitigate it properly.
Even if you think I'm being too nerdy about the issue of totals on choropleths (I'm not) then think about it this way...the map suggests around 3,400 as the bottom value of the highest class in the legend per Congressional District that's a lot of people right? Three and a half thousand of them. As a percentage? Less than 0.5% and, frankly, that doesn't make the map nearly as persuasive. Dig a little further:
So the upper class actually goes from 3,400 to 51,652. And look at how tiny that little place is in downtown Los Angeles. 51,652 people all crammed into Congressional District CA-28 which you can hardly see, compared to 1,620 in North Dakota which you can really, really see. The choropleth doesn't help at all here. A different technique altogether would help. But even at 51,652 that's only 7% of the population. Still not exactly a huge proportion.
The data is also a little misleading. Libya cannot be extracted as a separate country from the American Community Survey used as a source for the map so the 'Other North Africa' designation was used - meaning people not on the banned list are included in the map. How many? Hard to know.
And reds? Hey, this is a sensitive issue. I mean a really f*cking sensitive issue. Red is not the colour to use because it's value-laden. We process it in a particular way and it means 'danger'. If the map is supposed to be an impartial display of the data then red is not the colour to use.
Finally, a friend of mine noted to me that they were concerned that the map even existed given it shows WHERE people on the banned list live. Popups even provide broken down summaries by country. I countered by suggesting that at Congressional District level there's enough generalization to mask real locations but I take the point and it raises an ethical issue for cartography. In a time of unpresidented [sic] political turmoil, is it morally OK to publish this sort of map just because you can easily scrape the data? What purpose does it support? Given the general outrage that the ban on entry from nationals of 7 countries is tantamount to a partial ban on Muslims then the map could easily incite or inflame the situation further. If the intent is to be impartial then you have to be ridiculously careful to ensure you do just that and this map doesn't. Unless you are setting out to be explicitly persuasive or even propagandist, cartographers and map-makers have a responsibility to make maps that are not misleading and when dealing with sensitive subject matter it becomes crucial.
I am absolutely sure that the map-makers here actually had the opposite intention because they include contact details for Congressional Representatives - presumably as a call to action to encourage people to call in their opposition to the ban. Trouble is, for every one that might go to that effort there will be many more that look at a sea of red and interpret it differently. That's the power of maps.
As it stands the map is dangerous. It shows where people live that are currently on a banned list and that serves no purpose. It uses a good technique but poorly which is nothing more than creating visual alternative facts. It uses the wrong projection which exacerbates the problem. It uses slightly dubious data and, certainly, a bad choice of colours. I'd ban this sort of mapping. Period.
Wednesday, 17 June 2015
True Size of Africa - now in three dee!
A few years back, designer Kai Krause made his multi-viral 'True Size of Africa' graphic. It's what got me riled enough to start this blog and it was the focus of my first post as I re-drew the map using shapes from an appropriate equal area projection. I got called a 'marauding cartonerd' for making some salient observations and making the corrections.
He got a bit miffed that people were pointing out errors in his work but he remained committed to the cause of simply trying to show that Africa is a big place. His wholly misleading map constantly bubbles up on the internet. The critiques get largely ignored because few care about accuracy and the world keeps turning. Except he's only gone and updated the graphic.
Scientific American published his new graphic in a blog entitled Africa Dwarfs China, Europe and the U.S. in a section called Graphic Science.
Nervously, I went over and took a look...and this is what I saw:
Now let's be clear, the aim of educating people that the Mercator projection distorts our perception of reality and that Africa as a continent has suffered more than most is commendable. Fighting immappancy (as Krause described this lack of understanding of geography) is also close to my heart. But using maps incorrectly is where I get all cartonerdy.
You'd think, perhaps, that Krause might have taken some of the criticism on the chin and used this update as a way to correct his own immappancy. You'd also think that in a publication that profers the importance of 'science' that accuracy might be important. You also may presume that anything in the 'Graphic Science' section would be scientifically accurate in its visual display. Let's see eh?
Like many, Krause has embraced 3D. People love 3D. It looks cool and literally gives maps depth. So this new graphic is attention grabbing because of it's three dee-iness alone.
However - 3D blocks in perspective wrapped round a globe creates visual distortions. In just the same way that on a flat map that uses Mercator the north and south are distorted relative to the equator, on a virtual globe we see distortions in the relative size and shape of features as they move away from the viewing point - the point closest to us as map readers. China therefore appears predominant and his rendering of Western Europe starts to diminish as it begins to wrap around the curve of the globe. So, visually, comparing like for like from a single point of view on a 3D perspective drawing (or globe) isn't a good way of showing comparisons...particularly when it's based on the relative size of areas (I wrote of these issues in a separate blog).
Notwithstanding the visual problems with interpreting the relative size of shapes across a curved surface, if Krause has at least got all his shapes in proportion during the construction of the graphic then we might at least be able to assume some semblance of relative size. BUT...the sizes and shapes didn't quite look right to me so I popped open my GIS package of choice and played with some shapes.
Given I re-drew the original 2D version I thought it only natural to re-draw the 3D version so here's my attempt at re-making his map with the same countries on a virtual globe:
I had difficulties re-making his map like-for-like for the simple reason that the real world shapes are not the same as he presents. Here's where Krause's map seems to fail:
- China is not the same shape and has been warped to fit neatly over Madagascar.
- The contiguous United States is much larger than he presents.
- Krause included Germany and a partial set of Eastern European countries. There simply isn't room.
- The real India is larger than Krause represents.
Of course I'm being cartographically pedantic again but if the very thing you purport to show is misrepresenting reality I don't think artistic license is a sufficiently good excuse. Yes, you could argue it's only a little bit wrong but if you're going to do something, why not do it right? Few who look at the new graphic will even think to question its authority and they will glean a distorted picture. That's the real issue.
The world will likely jump on his graphic and proclaim it as a great way to visualize differences in the size of areas. Like his 2D attempt, it's inaccurate. Will anyone care? I do. Should I have made a 3D version? Probably not. The 2D version is far more useful at supporting visual comparison of areas. Adding perspective and extruding the shapes to volumetric blocks just adds unnecessary visual noise that creates problems for our human processing of the map's message.
ht to @cartocalypse for the link
Subscribe to:
Posts (Atom)




