Archive for category Design
Enhance Your Figure – Ground
One of the major Major MAJOR problems that bad maps have is a lack of sufficient figure-ground contrast. Let it be impressed on the new cartography student that there is almost never a time when there is too much contrast. You pretty much can’t go wrong when it comes to lightening up the background features in order to make the foreground more prominent. Rule of thumb: think that hillshade is light enough? Try 10% lighter.
Gestalt is a general term that describes a group of objects (physical, biological, or even psychological phenomena) that have a definition as a group that is different from their definitions when they are apart. This concept, borne of German psychologists in the early 1900s, when applied to graphic design, encompasses many concepts including image continuity, closure, similarity, and figure-ground. For the purposes of this discussion, we are interested primarily in the gestalt concept of figure-ground of course, which refers to the differentiation between an object and its background. GIS maps usually include objects that need to be emphasized and separated from the other objects on the map even though the other objects are also important for geographic context. This applies to feature pairings such as land and water, city points and land, or watersheds and forest stands.
In this map slice, we’ve got a National Geographic basemap at full saturation underneath future areas to be sewered in red-dash and ages and locations of existing septic systems as different colored dots (red is greater than 30 years old).
Increasing the transparency by quite a bit helps the data come to the forefront. You can increase the transparency in ArcMap by double clicking the basemap layer and setting it to about 50% in the layer properties > display tab. Here, I’ve actually done it in Inkscape, with the filter > transparency utilities > light eraser tool. The same thing can be done in CartoCSS, PhotoShop, QGIS, or whatever your GIS demon is.
But we can go even further, increase the transparency to 60% or, in Inkscape by using the light eraser filter once again, and really achieve a nice looking contrast:
Pre-rendered basemaps have never received the hype that they should have. They’ve made the workflow of the GIS Analyst a thousand times more productive, in my mind, since they first appeared. Even if you don’t use ArcMap you still have a wealth of pre-rendered basemap components available to you via Natural Earth Data and other sources. The main point here is to re-iterate the importance of making sure that basemap data is indeed “basemap data” by visually lessening its impact on the map while still retaining its efficacy.
Effective Data Visualization: The Argument
I hate taking strong positions. There are no strong positions that are correct!* Here’s one stated on the ol’ social media circles today:
beautiful data visualization < effective data visualization**
Give it some thought. No really, do. Here’s the real deal:
About 90% of the time a beautiful data visualization is an effective data visualization. If it’s beautiful people are going to look at it, which gets you almost fully to the “effective” state. I realize that’s a bit cynical, but really, just getting people’s attention is the hardest part. I’m thinking 10% of the time you might have a beauty of a map but it tells the wrong story, in which case it’s not just ineffective, it’s misleading at best, unethical at worst.
However, I truly believe that the opposite situation favors the visualization side of things a bit more. Therefore, I’d be comfortable saying that 80% of the time an effective visualization is beautiful (rather than 90%). I’m going to get flack for this, especially as a teacher of effective design, but truthfulness requires even myself to admit that there are times that less than attractive visualizations are still effective.
This is especially true for visualizations of NEW data–data that nobody has ever mapped before. These can get away with a bit of ugliness just by their sheer inventiveness. Here’s a great example from this week:
I tweeted this morning about a new visualization of data surrounding the purchase of BitCoin in various parts of the world. I tweeted it because the subject matter and the implications are fascinating. I didn’t tweet it because of the visualization being “pretty”–which it most assuredly isn’t. A map of something more typical, say population movement, I would’ve wanted to look better. But this one was so new and unique that I was willing to put aside thoughts of the rudimentary map style and overlapping text.
If you want to maximize your effectiveness, though, it is better to err on the side of design: fonts, colors, text placement, line width, projection knowledge, and the like, since there aren’t going to be many times that you get the chance (or think of) such a great new visualization that allows the rest of us to momentarily forget our taste.
*irony
**no disrespect meant, ht @Option_Explicit
Depiction of Variables on Maps, Methods
In “Some Truth With Maps: A Primer on Symbolization & Design,” by Alan M. MacEachren, the various means of mapping a variable’s intensity are listed and described. Most of these are relevant to mapping today. I’ve included my interpretations and modern updates to these below. I’m using my usual method of illustration here–map slices–just so we get the essence of the idea rather than getting caught up in the map itself.
Size map readers assume that large symbols denote high values, medium symbols denote moderate values, and small symbols denote low values. Don’t mess with the reader’s expectations on this. Symbol size differences, as long as there are only a few, are easily differentiated by the human eye. This makes this form of mapping fairly ideal. It’s pretty obvious, but only use symbol size differentiation for ordinal data. The example below is a recent implementation of the concept, utilizing hexbins to query and display Walmart location data.
Shape Shape is used to denote type, or nominal, data. Because shapes are harder for the human eye to distinguish, the map maker must ensure that they are large and relatively few in order to enable the map reader to more quickly decipher the map. The argument is that a map with a lot of small shapes to look at is not going to be very effective since it will take too long to understand. Icons to depict place-type is probably the most common implementation of shape-based map design. Here, Matt Stevenson’s trail map has only a few, large, icons.
Color Value The lightness of a single color is varied to denote the magnitude of an ordinal variable. This is most useful for heat maps, where the map reader doesn’t need to check the map legend to determine an individual value, but rather only needs to know where the general trend is high or low. With choropleth maps, however, where the reader may want to check the legend to see what each shade means, color value is less useful. More than five shades and it’s too difficult to match the color to the legend key.
Color Hue Nominal data is well suited for display via different colors as long as (1) audience color deficiency is accounted for and (2) the features are large enough to enable the colors to be adequately seen. MacEachren warns against using color differences for ordinal data, saying that people don’t understand logical order of hues (as indicated by the order in the electromagnetic spectrum). However, I differ with him on this point, as I believe that a diverging color scheme–two colors that vary in intensity–can be effective. Blues and greens are common in diverging schemes and are fairly easy for the modern map reader to decipher. This dot map of septic system locations colored by age uses two colors: yellow denotes the youngest age and dark orange denotes the oldest.
Color Saturation The purity of a color is its saturation. This is easily confused with value. The most highly saturated colors (e.g., pure red, green, blue) have medium values. A color palette with a lot of muddy looking colors is a low saturation palette. The infamous fruit palette that we used to see a lot of in GIS maps is a high saturation palette. Depicting the magnitude of something based on saturation will result in a palette of a single hue that ranges from grayish to the least gray. The heat map below is part of a kernel density analysis of aged septic systems.
Texture Maps that use texture to differentiate types in area data are thankfully few and far between today. The fact that it is listed in MacEachren’s book is due to its vintage–when we could only publish maps in black and white we had to use texture a lot more. That didn’t mean it was good, just that it was one of the few options. I always say that if you have to use texture, use it as sparingly as possible by confining it to categories that have the least number of areas or the smallest areas. Data that often requires the use of texture includes geology and soils data, simply due to the fact that there are too many types of things to distinguish to rely on color hue alone. This older map of Yosemite does an okay job of it.
Arrangement Pattern arrangement can indicate type. Different line/dash patterns can differentiate horse riding trails from bike riding trails, for example. MacEachren points out that area data can have a different arrangement of, say, dots, in different areas to distinguish them. Honestly, I’m not seeing much use for this and while I think that density (discussed later) is an important graphic variable, the use of arrangement is antiquated. The example below, therefore, is just a very simple road vs. trail map.
Orientation While we don’t see this too often, it’s by far one of the most visually stunning effects that we can do with our data. MacEachren states that humans are able to quickly and effectively decipher orientation differences in symbols. I feel that orientation is best reserved for data that has a real orientation to map (e.g., flight routes, ship traffic). I assert that there is no need to differentiate non-directional data with orientation as more suitable methods exist. For example, MacEachren’s book has a map that differentiates oil, lumber, reactor, and coal point locations with variously oriented bars when it could be more easily accomplished with hue or even shape. Ocean surface currents, however, is a dataset that has innate orientation, as in the example below, and is particularly suited for orientation-based symbology.
Focus The fuzziness of the features can be manipulated via fade-outs to create a contrast between sharp and imprecise that can indicate unambiguous to ambiguous, respectively. While MacEachren lamented that focus hadn’t made an appearance in many maps at the time of his book, we see it more and more on digital maps now, and with great effect. This canopy height map shows nothing for areas that have (presumably) low or no canopy.
As you can see, in practice, cartographers very often employ more than one of these techniques at a time. Quite simply, if multiple techniques enhance clarity rather than muddy it, then they work.
Density MacEachren doesn’t list density in the book, but it can’t be left out today. Dot density mapping, where one dot is equal to a percentage of what’s inside an area, or even where there is a 1:1 relationship between the dot and the variable, is used a lot today. These have implications for method in terms of how many dots are grouped and at which zoom levels, for digital interactive mapping. Each implementation will differ depending on the data and the interpretation of the cartographer, and most importantly: the size of the dots.
Extrusion Also not listed in the book is extrusion, which is the 3D depiction of a variable via “height.” The early implementations of extrusion weren’t very appealing. Software could only extrude simple features, for one thing, and often those features wound up obscuring important data behind them (e.g., city population maps with sky scraper symbols for each city). However, the cartographer can fine-tune this now and make it work for some data. If the data is suited for it, it is a great technique, since people readily grasp the idea that a taller feature denotes more of the quantity.
The Importance Of Drop Shadows
*****Note: From time to time old posts are resurfaced on the blog. This one is from October 30, 2012******
Drop shadows are an easily overlooked design technique that can enhance the map by separating certain features such as legends and focal polygons visually from the rest of the map layout.
Map readers may not be immediately cognizant of the drop shadow but it helps their understanding and appreciation for the map just the same. As map makers, we need to be aware of this subtle yet powerful graphic element. We’ll start with some examples of drop shadows on existing maps and map layouts and then proceed to a few notes on how to apply a drop shadow in ArcMap and Illustrator.
From “New Plants on the Way?”, a map accompanying a 2006 article in the New York Times, Slow Start for Nuclear Reactors.
This is a classic drop shadow applied to the United States to separate it from the rest of the infographic.
From “Getting to the Tidal Basin Blossoms”, a map accompanying a 2005 article in the Washington Post, Cherry Blossom Guide.
This drop shadow provides a clear 3D height difference between the land and water.
A portion of the Marymoor Park map by Matt Stevenson, CORE GIS LLC.
Notice the drop shadows underneath the leader lines. They provide an important figure-ground differentiation.
A portion of the Seafloor Map of Hawaii map by Tom Patterson, who maintains shadedrelief.com.
The extremely subtle drop shadow to the bottom and right of the legend adds to the finished look of this exquisite map.
Tools
ARCGIS To create drop shadows in ArcMap, you must have ArcEditor or ArcInfo, and your data needs to be converted to a geodatabase. Use the representation > symbology tab. A tutorial on creating drop shadows this way is available on the ArcGIS resources site. If you only have the ArcView version of ArcMap, you can create a simple rectangular drop shadow for a simple rectangular legend by creating a rectangle graphic and offsetting it from the legend graphic. You can also create a rudimentary drop shadow by converting an irregular polygon feature to a graphic and then symbolizing that graphic via a gradient. Warning: at least in prior versions of Arc (I haven’t tried this in 10), gradient symbology was resource intensive and took a long time to render. Additionally, you can play with concentric buffers whereby each one is slightly lighter in color and more transparent than the last.
ILLUSTRATOR Select an object or an entire layer, then go to effect>stylize>drop shadow and click ok.
Activity and Experience Focused Design Are Paramount
Jared M. Spool has some spot-on insights about design that he’s boiled down to 5 key design approaches:
- Unintended: nobody bothers to think about the design at all. “Organic” in every sense.
- Self: this one is intended design, but only such that it works for yourself or your team.
- Genius*: builds upon the previous experience of those creating the design. You hope that experience is good enough to produce a good design.
- Activity focused: usability testing is employed to figure out just how to best design for certain activities (in mapping, an activity might be navigation).
- Experience focused: looking beyond the immediate needs of the design toward needs that may not have even been recognized yet, but that become apparent once you research users.
For more information on these, check out Spool’s keynote from the 2013 Esri International Developer Summit:
*I would have called this one “experienced” focused and found another name for #5, but I’m sticking with Spool’s nomenclature here.
The Watercolor Illusion
*Note: From time to time old posts will be resurfaced on the blog. This one is from Sept. 2010. The watercolor illusion is similar to, but not exactly the same as, the vignette concept. A vignette would create a subtle illusion as well. A simple example would be this banding effect created in TileMill:
I was digging around the cartography literature yesterday and came across something called the watercolor illusion.*
The illusion is thus: if you have a dark line (the more squiggly the better) next to a light colored line, your eyes will fill in the missing white space with the lighter color, albeit in a lighter tone, and give a washed-out effect. In this example your eye may think that the outside rectangle is green but in fact it is white. It is just the light green fine line next to the purple that is causing that illusion:
Perhaps you all have some better examples of how this plays out on a map, but here is my attempt. You can see I am trying to create a major definition between the water and the land (these are geology polygons). The geology polygons are in dark purple and I’ve used a bright, light blue next to the outer edge by first creating a buffer of the polygon and then symbolizing the buffer:
There are other ways to produce a gradual fading of a line in your GIS and in your graphics programs, of course. In ArcGIS, for example, you can use a gradient fill, though sometimes, especially with large datasets, this taxes the renderer quite a bit. However, this is a fairly easy and handy way to create the effect within the GIS and without exporting to graphics software.
*Pinna, Baingio and Gavino Mariotti, “Old Maps and the Watercolor Illusion: Cartography, Vision Science and Figure-Ground Segregation Principles,” Systemics of Emergence: Research and Development. 2006, 3, 261-278.
Recent Comments