Edges, colors, and contrasts
- Our visual system is not a physical light meter, what we perceive is different from actual values for colors and brightness
- Humans are better at seeing edge contrasts for monochrome images
- We are also better at distinguishing dark shades (compared to light shades)
Color
Let’s start with some definitions regarding color. “Color” refers to three components:
- Hue refers to the dominant wavelength of the color (e.g., red, blue, purple)
- Chroma refers to how intense of vivid the color is
- Luminance refers how bright a color is
HSL
Color
- Color schemes need to represent accurately differences in our data.
- For example, changes from one level to next need to be perceive as having the same magnitude
- We should be careful when picking colors for our variables in our data visualizations
Order these colors
Order these colors
Color
- Gradients should be used as sequential scales from low to high to represent numeric continuous/ordered variables (e.g., population size). Light colors should represent low values, and dark colors high values.
Color
- Diverging scales should be used where there is a neutral midpoint and then there is variance in ether direction from that neutral point (e.g., temperatures can be positive and negative).
Color
- Qualitative palettes where each color has the same valence (i.e., no color dominates the other) should be used for unordered categorical variables (e.g., political parties, countries). Different colors in the palette should not imply differences in magnitude.
Color
- We also need to take into account people who are color-blind, and how they perceive colors
Shape
- We can also use shape as a channel to encode information
- The color channel, however, is more salient, and shape can be used as a secondary channel.
Visual Search and Pop-out Effect
Try to find the type B
data point in the three plots in the next slides
Visual Search and Pop-out Effect
Try to find the type B
Visual Search and Pop-out Effect
Try to find the type B
Visual Search and Pop-out Effect
Try to find the type B
Color and shape
- The
type B
data point should have been easier to find in the first and last plots, and harder in the middle plot.
- Color is a channel that is easier to process than shape
- Combining both shape and color is at times a good strategy.
Color and shape
- Encoding multiple channels in the same visualization can overtax the viewer when the multiple channels are not highlighting some structure in the data
see the two plots on the next slides
Color and shape – overtaxing
Color and shape – overtaxing
Encoding channels
Other encoding channels that are even less easily processed than shape are:
- size
- elongation
- angle
- movement
Gestalt Principles
- humans are extremely good at finding patterns, even when no pattern exists
- the ability to perceive different shapes and lines as a unified image rather than just a bunch of elements that are not related to each other follow what we call Gestalt principles (Healy, 2018).
Gestalt Principles
Visual elements are perceived as being related to each other when these elements are close to each other – i.e., Proximity principle:
Gestalt Principles
Visual elements are perceived as being related to each other when these elements are similar in shape, color and size – i.e., Similarity principle:
Gestalt Principles
Visual elements are perceived as being related to each other when these elements are similar in shape, color and size – i.e., Similarity principle:
Gestalt Principles
Visual elements are perceived as being related to each other when these elements are visually tied – i.e., Connection principle:
Gestalt Principles
Visual elements are perceived as being related to each other when these elements are perceived as being part paths, lines, curves, even when some elements are “hidden” – i.e., Continuity principle:
Gestalt Principles
- not complete; we construct the incomplete form into familiar shapes – i.e., Closure principle