Elegant Figures

Qualitative vs. Sequential Color Scales

May 20th, 2011 by Robert Simmon

Sticking to the flood theme, here’s a recent map from the U.S. Army Corps of Engineers showing the predicted travel time for water in the Morganza Floodway.

Map of estimated travel times for flood water in the Morganza Floodway.

It’s a reasonably good map, with one big flaw: the colors are more appropriate for categorical data (such as a geological map of different rock types) rather than sequential data (like elapsed time). There’s no natural progression from one color to the next, so to work out the ordering one has to rely on the position of adjacent bands of color, or look repeatedly between the map and the key. A palette that varied from light to dark, dull to saturated, or both, would be easier to read at a glance. Like this:

Example of a sequential palette.

Since I’m still not ready to do a long series of posts on colors, here’s a handout I wrote for the 2008 Access Data Workshop that covers more of the basics: Use of Color in Data Visualization. (PDF) If you’re really interested in the topic just skip what I wrote and go straight to the references:

  1. Brewer, Cynthia A. (2005) Designing Better Maps: A Guide for GIS Users. Redlands, CA: ESRI Press.
  2. MacEvoy, Bruce. (2008) Watercolors. Accessed April 28, 2008.
  3. Rogowitz, B.E.; Treinish, L.A. (1998) Data visualization: the end of the rainbow, Spectrum, IEEE , vol.35, no.12, pp.52-59.
  4. Tufte, Edward R. (1990) Envisioning Information. Cheshire, CT: Graphics Press.
  5. Ware, Colin. (2005) Information Visualization, Second Edition. San Francisco, CA: Morgan Kaufmann.

 

Odds and Ends: Morgan City, Louisiana, 1973

May 13th, 2011 by Robert Simmon

While poking around looking for imagery of the 1973 flooding on the Mississippi, I discovered some fascinating, very high resolution aerial photography. Images of Morgan City—a community near the mouth of the Atchafalaya River that was damaged by flooding in 1973, and will likely be hit by rising water in the next few weeks. Both are false color, but the May image is either a poor scan or the originals have degraded. These photographs, and thousands like them, are available from Earth Explorer, the online USGS archive of satellite data and aerial photography. John Mcphee’s essay “Atchafalaya” from his book The Control of Nature beautifully describes Morgan City and the 1973 flood.

Aerial photograph of Morgan City, January 1971. Aerial photograph of Morgan City, May 1973.

Map of the Ancient Mississippi

May 11th, 2011 by Robert Simmon

Historic flooding along the Mississippi River gives me an excuse to show another of my favorite maps, from Geological Investigation of the Alluvial Valley of the Lower Mississippi River.

Map of relic meanders on the Mississippi.

Each color represents an old channel, dating back 1,000 years or so. Those that correspond to historical records are dated, while older channels are ordered according to the principle of superposition (newer sediments on top of older ones). Many of the surface layers are still visible in satellite imagery. High-resolution, geolocated maps from Cairo to the Gulf, along with major tributaries, geological maps, and cross sections, are distributed by the U.S. Army Corps of Engineers.

Since I was (slightly) critical of the New York Times graphics department yesterday, I’ll show a Times map that is one of my favorite visualizations today: a map of shaking intensity and slip during the 1906 San Francisco Earthquake.

New York Times map of shaking intensity from the 1906 San Francisco Earthquake.

Aside from being elegant, it’s data-rich without being cluttered, and multivariate. It shows shaking intensity (in two dimensions), fault location (in two dimensions), slip along the San Andreas (one dimension), urban locations (two dimensions), and has three layers of direct labeling (cities, faults, and slip). The key is adjacent to the data, and written in clear language. Compare the map from the Times to the equivalent from the USGS:

USGS map.

The New York Times version both has more data and is more readable. Why? First off, the Times uses a subdued, discrete, color palette that shifts through a small range of hues. This allows other information to be layered into the map. The USGS, in contrast, uses a rainbow of hues at maximum saturation. The rainbow palette [at some point I’m going to do series of posts on color palettes, but for now i’ll just point to Color Brewer to explain the importance of appropriate color maps in data visualization] uses the full spectrum and is so saturated that there are very few colors left over for additional data—notice how the red fault lines on the USGS map disappear in areas of intense shaking. The dark ocean in the USGS version also competes visually with the data-rich areas of the map.

The New York Times also forgoes the use of terrain data in their map. It adds a lot of great context to the image (the San Andreas creates a distinct valley), but at web resolutions shaded relief is very difficult to pull off. The high frequency contrast distracts from the other data in the map. At larger sizes, or printed at high resolution, the terrain could be added back in (but it still needs to be treated carefully—see Relief Shading for advice). As a result, fine details in the faults and the boundaries of urban areas remain legible.

My favorite part of the Times map is the inclusion of the amount of slip at various locations on the San Andreas: it’s so much more informative than merely indicating the epicenter. Earthquakes—especially big earthquakes—aren’t points. They occur over a two dimensional area (reduced to a one dimensional quantity on this map). Increased slip correlates with increased shaking, which tells a story. That’s what makes this map so powerful. It’s a narrative of cause and effect, which is a quality of the best data visualizations.

A Hierarchy of Perception

May 9th, 2011 by Robert Simmon

Last week, Jessica Ball of the American Geophysical Union’s Magma Cum Laude blog pointed out this map of natural hazards in the U.S., published by the New York Times:

New York Times map of natural hazard in the United States.

The map has many of the design virtues common in graphics from the Times (clean, focused on the data, clearly labeled, small multiples), but when I first viewed it I had trouble parsing the data. It took me a while to figure out that hazard was indicated by color, and the size of each circle denoted ancilliary information (population).

It turns out that our eyes &amp brains perceive area more strongly than color. Here’s a list of ways to visually compare quantities (described by Bang Wong in his Points of View column for Nature Methods), in order from easiest to hardest:

  1. Positions on a common scale
  2. positions on the same but nonaligned scales
  3. lengths
  4. angles, slopes
  5. area
  6. volume, color saturation
  7. color hue

I suspect I’m not the only person who would consider the size of the circles more important than the color, and assume size was correlated with hazard. I had to carefully read the key to figure out the proper way to read the map. Perhaps using size to encode hazard, and color (or opacity, or icons) for population would have worked better.

2011 ISRSE Wrap-up

May 6th, 2011 by Robert Simmon

I recently had the opportunity to attend & give a presentation at the 2011 International Symposium on Remote Sensing of the Environment in lovely Sydney, Australia. (OK, not so recently—the conference ended on the April 15th. I blame jetlag.) Just over 60 people turned up for the talk, which was mostly about our visualization of Eyjafjallajökull. (Which means I had to attempt to learn how to pronounce “Eyjafjallajökull.” Luckily I don’t think anybody made it from Iceland to Sydney to critique me.) If you’re interested, I’ve posted Keynote and PDF copies (originally prepared for last years’s fall AGU).

During sessions many of the talks were a bit on the technical side for me, so I ended up preparing material for NASA’s portable “hyperwall”—9 HDTV screens linked together. It’s useful for either high-res animations, or small multiples. With relatively thick bezels on the monitors, simultaneous display of 9 images worked particularly well:

Photograph of the NASA hyperwall at ISRSE.

Compare the small multiples on the hyperwall with the sequential display of the same images from the Earth Observatory’s World of Change.

During my talk I promised the audience that I’d update the blog more frequently, so there should be more posts in the future. I sometimes struggle for good ideas, so if you have a suggestion, please drop a note in the comments.

International Iconography

April 22nd, 2011 by Robert Simmon

One of the best things about international travel (at least to a geek like me) is to see how different cultures approach design and signage. Here’s a few from Blue Mountains National Park, near Sydney, Australia.

Sign showing the difficulty of hikes near Wentworth Falls. Signage along the National Pass trail.

Wow. 28 photographs from within the crater of Nyiragongo Volcano in the Democratic Republic of the Congo. (Thanks to Zuid Wal, commenting on the Eruptions blog.)

Odds and Ends: Kamchatkan Volcanoes

February 28th, 2011 by Robert Simmon

Russia’s Kamchatka Peninsula is perhaps the most volcanically active spot on the planet. Last week’s Global Volcanism Program weekly report (for February 16–22, 2011) listed three Kamchatkan volcanoes currently in eruption—Karymsky, Kizimen, and Shiveluch—and two others—Bezymianny and Klyuchevskaya—were mentioned earlier in February. In one overpass a NASA satellite captured four of these volcanoes in one narrow overpass, only 60 kilometers wide and 300 kilometers long. All of them exhibit plumes. I zoomed in on the most spectacular—Kizimen and Shiveluch—for our Natural Hazards section, but I’d like to share Klyuchevskaya (below) and the entire image—all 9,822 by 20,729 pixels of it (13 MB JPEG).

NASA Earth Observatory image by Robert Simmon, using data from the NASA/GSFC/METI/ERSDAC/JAROS, and U.S./Japan ASTER Science Team.

Map Projections Matter

February 24th, 2011 by Robert Simmon

A few weeks ago I stumbled on this headline and image from the UK Daily Mail Online:

World of two halves! Map shows most of Northern Hemisphere is covered in snow and ice.
Global cylindrical equirectangular map of snow and ice.

Most of the Northern Hemisphere was covered in snow and ice a few weeks ago? (The image dates from late January/early February—I couldn’t find the exact date.) Really? At first glance it’s a plausible claim, but there’s a problem. The map is in a cylindrical equirectangular projection, which distorts relative areas—regions north and south of the equator appear larger on the map than they are in reality. The higher the latitude, the larger the exaggeration. As a result, a much higher percentage of the Earth’s surface appears to be covered in snow or ice than really is.

After transforming the map to an equal-area projection (in this case Mollweide, which also preserves straight lines of latitude) it’s obvious that most of the Northern Hemisphere remains snow and ice free, even in mid-winter:

Global map of snow and ice in the Mollweide projection.

A map showing just the Northern Hemisphere (azimuthal equal area, centered on the North Pole) makes is yet more clear:

Northern Hemisphere map of snow and ice in an azimuthal equal area projection.

For maps of measured quantities on the Earth’s surface (like snow, temperature, rainfall, or vegetation) it’s important to choose a projection carefully, to minimize misunderstandings of the underlying data. It’s far too easy for a map to exaggerate one area at the expense of another. It’s also important to keep projections consistent when displaying a time series, or comparing datasets to one another.

Despite the major flaw of not being equal area, cylindrical equirectangular (which goes by many other names) is very useful: it’s the standard projection for importing into a 3D program and wrapping around a sphere, and it’s easy to define the corner points and scale for import into software to transform to other map projections. I did all the reprojections with the excellent tool G.Projector, which I’ve written about before.

For more information about map projections, see the USGS page Map Projections, the National Atlas’ Map Projections: From Spherical Earth to Flat Map, and the Wolfram Mathworld Map Projection site. For an in-depth discussion, read Map Projections—A Working Manual, (PDF) also from the USGS.

(As far as I can tell, the snow and ice map was originally from the NOAA Environmental Visualization Laboratory. Unfortunately, I couldn’t find archived images on their site, so I had to use the original low resolution and highly compressed image from the Daily Mail.)