17

I'm making a data visualization. Each datum is represented by a square. To make the underlying data intuitively legible should the length of each square's side or the area of each square be proportional to the datum it represents?

5
  • 1
    Not yet. Is it broad? I was hoping that the answer was definite (I'm assuming it's "area") but that folk here would have more graphic design and perceptual psychology knowledge to back that up.
    – dumbledad
    Apr 21, 2015 at 15:56
  • 1
    IIRC this was covered in a German book I read once, "So lügt man mit Statistik" by en.wikipedia.org/wiki/Walter_Krämer - not sure if there is an English equivalent. TL;DR - depends on what you want your readers to read from the visualizations. Apr 21, 2015 at 16:12
  • The answer is certainly not definite. It all depends on specifics--namely what the data is you are presenting, how you are presenting, and what you want to communicate with said data.
    – DA01
    Apr 21, 2015 at 16:18
  • Can you give examples where the specifics or what we want the readers to read from the visualization would lead us to choose to make the length of the side of a square proportional to the datum instead of the area of the square?
    – dumbledad
    Apr 21, 2015 at 16:22
  • 5
    +1 Why does every interesting question attract at least one close vote?!? <grump> Apr 21, 2015 at 17:10

5 Answers 5

12

If you, the creator, is unsure, how will the reader know which it is?

Short answer: the value should be linked 1:1 to the amount of colour on the page. So in your example, it should be area. But there's more than that: you also need to avoid misleading cues that might make a reader read it incorrectly, and you need to know why you're using area instead of length (e.g. bar charts), because it has real pros and cons.


First, never have both length and width (i.e. area) of a shape change when actually the variable is only linked to the length of one side. If X is double Y but Y has four times as much colour on the page, you're misleading your readers. This sort of distortion is sometimes referred to as a "lie factor", and is often assumed to be a deliberate attempt to mislead and exaggerate differences.

enter image description here


If you use area as a measure I'd strongly recommend:

  • Knowing why you're using area. By using area instead of a linear dimension like length, you:

    • Sacrifice the ability to clearly see differences mathematically (you can't easily say "look, that's double the other one")
    • Invite your readers to view it in an intuitive everyday non-numerical way the way people, for example, compare sizes of pies in a shop. Less sophisticated, but more immediate. More gut, less head.
    • Small differences between very similar numbers become almost invisible.
    • When one variable is many many times smaller than another, the very small one doesn't disappear as badly as it would in a bar chart, which can allow more flexibility in layouts.

enter image description here

  • Consider using circles for area, not squares, centre aligned:

    • Circles because it doesn't invite confusion with bar charts and similar. Height and width are less to the fore: it looks less like you're inviting a height or width based comparison.
    • Centre-aligned because it doesn't invite people to compare heights

enter image description here

For example, above, it's hard not to see the square labelled "5" as being three quarters the height of the square labelled "10", so it's potentially misleading.

The circles don't invite this sort of comparison: it's more of a gut-level, instant "That blob is rather a lot bigger than the next blob".


There's a variety of evidence from user testing to small-scale studies (will try to hunt some examples down later) that this sort of intuitive area-based comparison can be more engaging, can lower the barrier to entry to less engaged audiences, and can help keep the reader's focus on the subject matter rather than the cold minutiae of the numbers. But this comes at the cost of getting in the way of more numerically-minded analysis.

Don't choose between one-dimension (length or distance) and two-dimension (area) for aesthetic reasons: choose between them based on your audience and message.

Which is more appropriate for the communication: instant gut-level comparisons at the level of "that's much bigger", or more considered numerical comparisons at the level of "that's about 80% of the other one"?

Or are there practical reasons why you need to use area?

Then, when you've chosen for practical reasons, apply aesthetics.

1
  • The 'proportional to the amount of color on the page' is a very useful rule-of-thumb (at least in 2D); thanks for that I will be using it. The design I'm moving to is based on circles, I think you are right there
    – dumbledad
    Apr 22, 2015 at 7:56
5

I'd say the area. Optically, a square with a side two times as long shows as an area 4 times as big. Casual observers will relate to the area, even without reading your legend.

A nice example is this legendary graph by xkcd's Randall Munroe:

enter image description here (huge, legible version)

4

We're not as good at judging differences in area as we are in length. We use length as a proxy and therefore tend to underestimate differences in areas.

For this reason, a circle that actually has 2x the area of another appears too small because our brain is relating their radii, which differ by a factor of 1.4x.

There's are interesting attempts at reconciling this phenomena, such as Proportional Symbol Mapping in R, which proposes perceptual scaling of symbols to more closely align with how we judge lengths and areas.

Here is Fig. 2 from this paper

enter image description here

Personally I don't have any experience with this and avoid using areas if quantitative judgements are required.

An interesting tangent is the relationship between perception of volume and length. The difference in how we perceive these is even more striking. This can be illustrated in this video of star size comparisons.

By the time you get to the largest star, which is about 1,700x the diameter of the sun, you are left with the impression that it is much larger than 1,700x.

For a more systematic look at our error in perceiving differences in areas and lengths, see Crowdsourcing Graphical Perception: Using Mechanical Turk to Assess Visualization Design by Jeffrey Heer and Michael Bostock.

4

In my opinion the area (D), not each side (E).

If you are using a side of length 2, then the area would be 4 times the value and you would have a very overlapped graph. (E)

When you have a normal bar graph (A), the data is linear, and the with of the bar is just for esthetic. (B)

In those cases the area again is representative of the data because the with of the bars are the same. You can have a 3D bar and still the volume of the bar is the one representing the data (C)

Graphs illustrating sizing perceptual differences and overlap

5
  • 4 times? Isn't it the difference between linear and squared?
    – dumbledad
    Apr 21, 2015 at 16:00
  • Let me ilustrate and edit the post.
    – Rafael
    Apr 21, 2015 at 16:02
  • Suppose the datum is 81. The if we use area the sides have length 9 giving an area of 81. If we do sides then they are of length 81 and the area is 6,561. 81 is not 4 times 9 and 6,561 is not 4 times 81. Where do you get 4 from?
    – dumbledad
    Apr 21, 2015 at 16:04
  • "If you are using a side of length 2, then the area would be 4 times the value" I can't tell what you're trying to say there. I think you mean that, if you're using the length of the side to represent the magnitude of the data, doubling the data value multiplies the area by four. Apr 22, 2015 at 8:28
  • David - that's my edit! Rafael's original post said "if you are using a side, the area would be 4 times the value". If you know a better way to clarify that please do.
    – dumbledad
    Apr 22, 2015 at 8:56
1

Tufte dealt with this extensively. See:

  • The Visual Display of Quantitative Information,
  • Envisioning Information and others.

Some principles of graphical integrity :

  1. The representation of numbers, as physically measured on the surface of the graph itself, should be directly proportional to the numerical quantities represented
  2. Clear, detailed and thorough labeling should be used to defeat graphical distortion and ambiguity. Write out explanations of the data on the graph itself. Label important events in the data.
  3. Show data variation, not design variation.
  4. In time-series displays of money, deflated and standardized units of monetary measurement are nearly always better than nominal units.
  5. The number of information carrying (variable) dimensions depicted should not exceed the number of dimensions in the data. Graphics must not quote data out of context.

In your case you have to ask yourself if the data is better represented by a 2D or 3D image or a line. A cube, a square, and a line are not the same. That is one of the reasons why 3D bar charts so often misleading.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.