288 Chapter 7: Showing Complex Data: Trees, Charts, and Other Information Graphics
up buttons that the user has to click to retrieve the next screenful of data. Other ap-
plications do panning instead, in which the information graphic is “grabbed” with the
cursor and dragged until the point of interest is found, like in Google Maps.
These are appropriate for different situations, but the basic idea is the same: to in-
teractively move the visible part of the graphic. Sometimes
Overview Plus Detail can
help the user stay oriented. A small view of the whole graphic can be shown with an
indicator rectangle showing the visible “viewport”; the user might pan by dragging
that rectangle, in addition to using scrollbars or however else it’s done.
Zoom
Zooming changes the scale of the section being viewed, whereas scrolling changes the
location. When you present a data-dense map or graph, consider offering the user the
ability to zoom in on points of interest. It means you don’t have to pack every single
data detail into the full view—if you have lots of labels, or very tiny features (espe-
cially on maps), that may be impossible anyway. As the user zooms in, those features
can emerge when they have enough space.
Most zooms are triggered with a mouse click or button press, and the whole viewing
area changes scale at once. But that’s not the only way to zoom. Some applications
create nonlinear distortions of the information graphic as the user moves the mouse
pointer over the graphic: whatever is under the pointer is zoomed, but the stuff far
away from the pointer stays the same scale. See the
Local Zooming pattern for more
information.
Open and close points of interest
Tree views typically let users open and close parent items at will, so they can inspect
the contents of those items. Some hierarchically structured diagrams and graphs also
give users the chance to open and close parts of the diagram “in place,” without hav-
ing to open a new window or go to a new screen. With these mechanisms, the user
can explore containment or parent/child relationships easily, without leaving that
window. The
Cascading Lists pattern (Chapter 5) describes another effective way to
explore a hierarchy; it works entirely on single-click opening and closing of items.
Drill down into points of interest
Some information graphics just present a “top level” of information. A user might
click or double-click on a map to see information about the city she just clicked on, or
she might click on key points in a diagram to see subdiagrams. This “drilling down”
might reuse the same window, use a separate panel on the same window, or bring up
a new window. This technique is similar to opening and closing points of interest, ex-
cept that the viewing occurs separately from the graphic and is not integrated into it.
If you also provide a search facility for an interactive information graphic, consider link-
ing the search results to whichever of the aforementioned techniques is in use. In other
words, when a user searches for the city of Sydney on a map, show the map zooming and/
or panning to that point. The search user thus gets some of the benefits of context and
spatial memory.