DataVis Colour Basics

Sarah Waterson
27 Aug 202426:08

Summary

TLDRThis video script offers a comprehensive guide on color usage in data visualization, emphasizing the importance of color scales for representing numerical data and categories. It discusses the psychological impact of color, suggesting dark colors for higher values and light for lower ones. The script covers various color scales, including sequential and diverging, and provides tips for choosing categorical colors that are both aesthetically pleasing and functionally distinct. It also addresses accessibility, such as color blindness considerations, and stresses the need for high contrast and intuitive color choices to ensure clarity and comprehension in data visualization.

Takeaways

  • 🎨 **Use Color Scales Wisely**: When representing numerical data with color, create a scale that maps larger numbers to darker colors and smaller numbers to lighter ones for better visual comprehension.
  • 🌈 **Sequential Color Palettes**: Utilize sequential color palettes that transition from one hue to another, such as a gradient from blue to green, to effectively represent changes in data.
  • 🔄 **Divergent Color Scales**: For comparing two opposing categories, use divergent color scales that meet at a midpoint, ensuring that hues are distinct to emphasize the difference.
  • 📊 **Categorical Color Choices**: When mapping data categories, choose colors that are distinct from each other to ensure readability, especially for audiences with varying visual capabilities.
  • 🚫 **Avoid Adjacent Hues**: For categorical data, avoid using colors that are too close on the color wheel; instead, maximize differences by selecting hues with at least 35° of separation.
  • 🔢 **Limit Color Palette**: Restrict the use of colors in data visualization to five or six to maintain ease of understanding and memorability for the audience.
  • 📈 **Use Colors to Highlight Important Data**: Employ colors to emphasize key data points, using gradients for patterns and bars or positions for specific values to enhance readability.
  • 🔗 **Consistency in Color Usage**: Maintain consistency by using the same color for the same variables across different charts to avoid confusion.
  • 👀 **Ensure High Contrast**: Pay attention to color contrast for accessibility and readability, especially important for text and small elements in a visualization.
  • 🌐 **Consider Cultural Color Meanings**: Be aware of the cultural significance of colors and use intuitive colors that resonate with the audience's preconceived associations.
  • 👓 **Check for Color Blindness Compatibility**: Utilize tools to verify that color choices are distinguishable by individuals with color vision deficiencies to ensure inclusivity.

Q & A

  • What is the primary purpose of using color in data visualization?

    -The primary purpose of using color in data visualization is to make shapes visible, encode data or categories, and enhance the visual representation of numerical data.

  • Why is it important to create a scale when using color to represent numerical data?

    -Creating a scale is important because it helps in mapping numerical data effectively. It uses a gradient that starts with a larger number on one end and a smaller number on the other, leveraging visual psychology to guide color choices.

  • How does the association of darker colors with density influence color choices in data visualization?

    -Darker colors are perceived as having higher value or representing more of something due to their association with density. Therefore, they are typically mapped to the larger end of a scale, while lighter colors represent less or smaller values.

  • What is a sequential color scale and how is it developed?

    -A sequential color scale is a gradient that progresses from one color to another, usually from a darker color representing higher values to a lighter color for lower values. It is developed by selecting hues that are adjacent on the color wheel and maintaining a consistent lightness.

  • What is the significance of using cool and warm colors in data visualization?

    -Using cool colors like blue or purple for high contrast and warm colors for low contrast on the opposite end helps to accentuate the transition from dark to light, making it easier for viewers to understand the data.

  • How does the choice of colors affect the differentiation between categories in a data visualization?

    -The choice of colors should maximize differences between categories to ensure they are easily distinguishable. Colors that are too similar or close on the color wheel can be confusing, especially for those with impaired vision or on low-quality screens.

  • What is a diverging color scale and how should it be used effectively?

    -A diverging color scale uses two different scales to represent two opposing ends of a spectrum, such as comparing Democrats and Republicans. It should be used effectively by ensuring that the hues of each scale are distinct and do not get too close to each other, accentuating the distance from the midpoint.

  • Why is it recommended to limit the color palette to five or six colors in data visualization?

    -Limiting the color palette helps to maintain readability and ease of understanding. More than six colors can overwhelm the viewer, making it difficult to remember the meaning behind each color and potentially confusing the visualization.

  • What is the role of gray in data visualization and how should it be used?

    -Gray is an important color in data visualization as it can be used for less important parts of the chart, allowing color to be used as a highlight for important data points. It's also useful for general context data and less important annotations.

  • Why is high color contrast important in data visualization, and what are the recommended contrast ratios for text?

    -High color contrast is important for accessibility and readability, especially on screens in low light conditions. The recommended contrast ratio is 2.5 for large text and at least 4.5 for small text.

  • How can color choices be improved when considering the target audience's cultural associations with colors?

    -Color choices can be improved by using intuitive colors that the target audience will associate with the data. This includes considering cultural meanings, avoiding stereotypes, and using colors that are naturally or learnedly associated with certain concepts, like red for alert or green for go.

  • What is the impact of using gradient color palettes for categories instead of values?

    -Using gradient color palettes for categories can lead to confusion as viewers may misinterpret the gradient as representing different amounts or values of the categories, rather than distinct categories.

  • How can color blindness be considered when choosing color palettes for data visualization?

    -Color blindness can be considered by using online tools to check color combinations for visibility to those with color vision deficiencies. Ensuring that colors used can be distinguished by all viewers is crucial for inclusive data visualization.

Outlines

00:00

🎨 Color Basics in Data Visualization

This paragraph introduces the fundamental role of color in data visualization, emphasizing its use for making shapes visible and encoding data categories. It discusses the importance of color scales, particularly in representing numerical data, and the psychological impact of color intensity and brightness. Dark colors are associated with higher values due to their perceived density. The paragraph also explores the concept of sequential color scales, both single-hue and multi-hue, and their development from a color wheel, highlighting the effectiveness of color differentiation in conveying data insights.

05:00

🌈 Choosing Colors for Categorical Data

The second paragraph delves into the challenges of selecting colors for categorical data representation, where color differentiation is crucial for distinguishing between data objects. It warns against the temptation of choosing adjacent hues on the color wheel, which may appear harmonious but can be difficult to differentiate, especially on lower-quality screens or for those with impaired vision. The paragraph suggests maximizing differences between hues and maintaining consistent lightness to improve readability. It also advises limiting the color palette to five or six colors to enhance memorability and usability.

10:03

📊 Gradient Colors and Data Patterns

This paragraph discusses the use of gradient colors to illustrate patterns in data, such as in a choropleth map. It advises against relying solely on gradient colors to convey precise values, suggesting the use of bars or positional indicators for clarity. The paragraph also touches on the importance of using colors to denote categories rather than numerical values and the potential confusion that can arise from using too many colors in a single chart, recommending a maximum of seven colors for ease of interpretation.

15:04

🖌️ Enhancing Data Visualization with Color Consistency

The fourth paragraph focuses on the importance of color consistency in data visualization. It stresses the need to use the same color for the same variables across different charts to avoid confusion and maintain clarity. The paragraph also highlights the necessity of explaining what each color represents, providing examples of effective color keys that include both numerical ranges and textual explanations to ensure that readers can easily interpret the data presented.

20:06

🔍 Improving Color Choices for Accessibility and Clarity

This paragraph offers guidance on making better color choices to enhance data visualization accessibility and clarity. It suggests using gray for less important parts of a chart to allow color to highlight key data points. The paragraph also emphasizes the importance of high contrast ratios for readability, especially for text, and advises against using complementary hues that can be difficult to distinguish. Tools for testing color contrast compliance are mentioned, along with the suggestion to consider the placement of colors in relation to each other for effective comparison.

25:07

🌍 Cultural and Psychological Considerations in Color Selection

The sixth paragraph examines the cultural and psychological aspects of color selection in data visualization. It encourages the use of intuitive colors that align with the expectations and associations of the target audience, such as using natural colors for environmental data or culturally recognized colors for political affiliations. The paragraph also addresses the issue of color blindness, emphasizing the need to ensure that color choices are distinguishable for those with color vision deficiencies, and provides a resource for checking color combinations for accessibility.

Mindmap

Keywords

💡Data Visualization

Data Visualization refers to the graphical representation of information and data. It is a key theme in the video, which discusses how to effectively represent numerical data using shapes and colors. The script emphasizes the importance of using color to encode data or define categories, as it can enhance the visibility of data and help audiences understand complex information more intuitively.

💡Color Scale

A color scale is a range of colors used to represent numerical data, with one color at one end of the scale and another at the opposite end. In the script, it is explained that darker colors are associated with higher values and lighter colors with lower values, which is a concept used to create effective visual representations of data.

💡Sequential Color Palette

A sequential color palette is a type of color scale where colors change gradually from light to dark, representing an increase in data values. The script uses this concept to illustrate how a color scale can be developed from a single hue or multiple hues, providing examples of how these scales can be used to represent data effectively.

💡Categorical Data

Categorical data refers to variables that are divided into groups or categories. The script discusses the use of color to represent these categories, emphasizing the need to choose colors that are distinct from one another to ensure readability and comprehension.

💡Diverging Color Scale

A diverging color scale is used to represent two opposing ends of a spectrum, often to compare two different sets of data. The script explains that this type of scale should have a clear midpoint and that the hues chosen should be distinct to highlight the contrast between the two data sets.

💡Color Contrast

Color contrast is the difference in color intensity between elements in a visual representation. The script stresses the importance of high contrast for readability and accessibility, especially for text and for distinguishing between different data points or categories.

💡Color Psychology

Color psychology is the study of how colors can influence emotions and behavior. The script touches on this concept by discussing how darker colors are perceived as denser or representing higher values, which is a psychological phenomenon that can be leveraged in data visualization to guide the viewer's interpretation.

💡Categorical Color

Categorical color refers to the use of color to differentiate between distinct categories in data. The script warns against using colors that are too similar, as this can lead to confusion and difficulty in distinguishing between categories, especially in less-than-ideal viewing conditions.

💡Color Accessibility

Color accessibility is the practice of ensuring that color choices in visual representations are usable by people with various visual impairments, including color blindness. The script advises checking color combinations for color blindness to ensure that all viewers can effectively interpret the data presented.

💡Intuitive Colors

Intuitive colors are those that are easily associated with certain concepts or data by the audience. The script suggests using colors that are culturally or contextually associated with the data being represented, such as using blue for Democrats and red for Republicans, to make the visualization more immediately understandable.

💡Color Gradient

A color gradient is a gradual transition between two or more colors. The script discusses the use of gradients to represent a range of values in data, cautioning against using gradients for categorical data and recommending the use of lightness to build gradients rather than hue alone.

Highlights

Color in data visualization is used to make shapes visible and encode data or categories.

A color scale represents numerical data with a gradient from a larger number to a smaller one.

Darker colors are associated with higher values due to visual psychology.

A sequential color palette can be developed using a single hue or multiple hues for better differentiation.

Categorical color choices should be distinct to ensure readability, especially for those with impaired vision or on lower quality screens.

Categorical colors should be chosen from different areas of the color wheel to maximize differences.

Limiting the color palette to five or six colors improves readability and memorability.

Gradient colors can show patterns but may not be ideal for deciphering exact values.

Using bars or position in addition to color can help in distinguishing segments and values.

Consistency in color usage across different charts for the same variables is crucial for clarity.

Gray is an important color in data visualization, used to highlight important data points by contrasting with less important information.

High color contrast is essential for accessibility and readability, especially for text.

The proximity and size of colored areas on a chart affect the ease of comparison.

Cultural and intuitive meanings of colors should be considered when choosing a color palette.

Avoid using gradient color palettes for categorical data to prevent confusion about the quantity or value.

Lightness should be used to build gradients, not just hue, for better readability.

Divergent color gradients can effectively represent comparisons between two opposing categories.

Color blindness should be considered to ensure that all viewers can distinguish colors in a visualization.

Transcripts

play00:02

hi there and welcome back to data viz

play00:04

today's short PO is on color Basics and

play00:06

as we know data Vis is can be defined as

play00:10

representing numbers with shapes and no

play00:13

matter I guess how what those shapes

play00:15

look like whether they're area areas

play00:19

lines or dots um they need to have a

play00:21

color sometimes colors just make the

play00:24

shapes visible sometimes they encode the

play00:27

data or the categories themselves

play00:31

um but today we're mainly going to focus

play00:34

on the latter in this talk you know

play00:36

defining categories and giving them

play00:38

colors and how to make some sensible

play00:40

choices there we'll take a general look

play00:42

at colors and we'll consider um what to

play00:45

look at when choosing them okay so let's

play00:48

keep

play00:49

going all right so let's just look at

play00:52

this for a moment when you use color to

play00:55

represent a number you need to

play00:58

create some sort of scale um this is

play01:02

important um don't use a scale for

play01:04

mapping categorical data and we'll talk

play01:07

about that a little bit more why later

play01:10

think of your scale as a gradient with a

play01:12

larger number on one end and a smaller

play01:14

number on the other end and we can take

play01:17

this advantage of the visual psychology

play01:19

of

play01:20

this to sort of help us with our color

play01:23

choices we associate darker colors with

play01:26

density and density with greater numbers

play01:29

because of this dark colors are

play01:31

perceived as being higher in value or

play01:33

there's more of it than lighter ones so

play01:36

make sure you map the large end of your

play01:39

scale or the thing with the biggest

play01:41

numbers um to a dark color and the small

play01:45

end to a lighter color and the bigger

play01:48

difference between these two extremes um

play01:50

the more effective your use of color so

play01:52

the difference in the in the numbers but

play01:55

also um the scale of you know the

play01:58

intensity of the colors your choosing we

play02:01

can start with a simple black to white

play02:03

scale for example by swap swapping black

play02:06

for another dark color we can make

play02:07

things a little bit easier to look at um

play02:10

and instead of white we could make the

play02:13

other end of the scale yellow for

play02:15

example and as you shift towards darker

play02:18

blue your scale slowly changes and

play02:20

becomes a SE Green in the middle you can

play02:22

see that I've put that in the multi hu

play02:24

sequential color palette there um so

play02:27

this is an example of a multi Hu

play02:29

sequential scale and you can see from

play02:31

the color wheel how that's been

play02:33

developed and it's the one just above my

play02:35

head here you can see the scale going

play02:38

from five up to zero but you can also

play02:40

see the color wheel and how it's mapped

play02:42

through there to make it a little bit

play02:44

more um buied in

play02:48

multicolors um if your charts on a light

play02:51

background for example it's best to

play02:53

start with a cool high contrast color

play02:56

like blue or purple and use a warm low

play02:59

contrast on the other end um this will

play03:01

accentuate the dark to light transition

play03:05

moving in from the opposite direction

play03:06

fights against this natural Trend and

play03:08

it'll be more difficult to read and

play03:10

won't look great um so you can see

play03:12

they're the two types we've got here of

play03:14

sequential color scales is the single

play03:16

Hue so you just go through one color

play03:19

there it is with the blue and then the

play03:21

multi- Hue going through the color wheel

play03:23

a little bit there um multi Hue

play03:26

sometimes can be much more effective

play03:28

because for us you can see oh yeah it's

play03:30

going to Green that's going to be easier

play03:33

to understand than going just to light

play03:35

blue sometimes we will have trouble

play03:37

differentiated between the Hues of blue

play03:40

but you can see by using that second

play03:42

green color palette it's kind of helped

play03:45

there so the main takeaways from this is

play03:48

that um when using a color scale make

play03:52

sure you know the dark colors are the

play03:54

things with the most numbers and the

play03:56

light obviously going to less so dark

play03:59

equals more light equals less okay so

play04:03

let's move on uh diverging color scales

play04:06

our third one in this group so we had

play04:08

multicolor we had a single one diverging

play04:10

ones we use two different scales to um

play04:15

represent the numbers and we can see

play04:17

here because they're comparing two

play04:19

things and in this case um it's between

play04:22

the Democrats and the Republicans um we

play04:25

can

play04:26

see that there's two things and we're

play04:29

measuring how how much Republican it is

play04:31

so the darker the more Republican the

play04:33

lighter red there the less and for the

play04:36

Democrats the same sort of thing except

play04:38

with blue but we can see where they

play04:40

converge in the middle somewhere in a

play04:42

light tone there um so to be effective

play04:46

in using this kind of diverging color

play04:49

scale uh we need to think of our scale

play04:53

as two sequential scales that share a

play04:56

low value and that's that white one in

play04:58

the middle this would be our midpoint

play05:00

um be sure that the Hues of each scale

play05:02

don't get too close to one another when

play05:03

you're using this technique because we

play05:05

want to accentuate the distance from a

play05:07

midpoint not hide it so hopefully that

play05:10

makes sense to most of you there all

play05:13

right moving on why okay still on our

play05:17

categorical color and we're using Color

play05:20

to represent categories when we're

play05:22

mapping data uh without numerical

play05:26

meaning so categories or a text name for

play05:29

category we want readers to be able to

play05:32

tell um our data objects apart so

play05:35

whether they're slices on a pie CH the

play05:38

lines or bars Etc so as designers we

play05:41

want these colors to look good next to

play05:43

each other and because of that we often

play05:46

choose adjacent viewes of things that

play05:48

are close in color they look nice and

play05:51

we're tempted to do this um and with our

play05:54

fancy laptops or with my fantastic

play05:56

screen here it's very easy for me to

play05:58

tell the St dates apart because I've got

play06:01

great color separation you know it's

play06:03

represented quite nicely but if you look

play06:05

at the colors like we do sometimes in

play06:07

the classroom on a projector or in fact

play06:09

on an old computer screen monitor or

play06:12

you've got impaired Vision or you you're

play06:15

older than 30 these colors start to look

play06:18

very similar and it's a big problem

play06:20

because the entire reason for using

play06:22

Color here is to help our readers

play06:24

understand objects that are different

play06:26

from one another um not NE their

play06:30

relationships but they are different

play06:31

categories so if we see here I've got um

play06:33

three types of categorical

play06:35

color and so categorical colors

play06:38

referring to the categories that we're

play06:40

using to Define things not how much of a

play06:43

thing that they are so we can see You'

play06:45

got alpha bravo charlie Eko and Delta in

play06:47

that first one they're quite beautiful

play06:50

together you know they they they don't

play06:52

look like a candy strip they they're

play06:54

quite harmonious but I I would say that

play06:58

they're not the most usable

play07:00

uh color palette that you could have in

play07:02

the center we've got ones which are

play07:04

separated a little bit more on the color

play07:05

wheel there with the black dots you can

play07:07

see that uh from the going from the blue

play07:09

down to the yellow for Delta I think

play07:12

they're usable usable but kind of starts

play07:15

to look like you've gone to the Lolly

play07:17

shop um not so beautiful or harmonious

play07:21

together and then the last one also

play07:23

beautiful but still not usable where

play07:26

we've

play07:27

got similar tones or like too dark alpha

play07:30

bravo and Charlie all looks very similar

play07:33

so categorical colors we're going to

play07:36

sort of look at that a little bit more

play07:38

let's keep

play07:39

going okay so my last one is trying to

play07:43

show The Best of Both Worlds we can see

play07:45

that there's a it's still got the candy

play07:48

effect but we can see that um at least

play07:51

we can see the separation between the

play07:53

colors there's no way I could confuse

play07:55

the orange of echo with the yellow of

play07:57

delta or the Bravo or Al with each other

play08:01

um but they look slightly more

play08:03

harmonious together

play08:05

um hence the thing so maximizing the

play08:09

differences from bouncing to and from

play08:11

opposite ends of the color wheel

play08:15

um you know is a good thing form or

play08:18

function is something you always need to

play08:19

toss up in data VI and we usually go for

play08:22

function over form

play08:25

um um but let's always recall the py

play08:29

psychological phenomenon where we

play08:31

associate darker colors with more of

play08:33

something and lighter colors with less

play08:35

of something and make sure that you're

play08:37

not unwittingly or unknowingly telling

play08:40

out your readers that the darker colors

play08:42

represent higher values and you can see

play08:45

hence this choices for the colors for

play08:48

the categories um are trying not to

play08:50

confuse our brains with that there's no

play08:53

sort of one size fits all answer to

play08:56

these these questions it's always going

play08:58

to be a compromise when you're choosing

play09:01

um you'll need to always relinquish some

play09:03

sort of aesthetic um choice for some

play09:07

readability ones um if you are choosing

play09:10

adjacent Hues or Hues that are close to

play09:13

each other on the color wheel um you can

play09:16

but take bigger steps between them at

play09:19

least 35° so leave a a segment in

play09:23

between of H change um and maintain a

play09:26

consistent lightness you can see the

play09:28

lightness is on the uh second ring out

play09:31

from the center there and that they're

play09:33

separated at least by one of the

play09:35

sections there so more than 35° of H

play09:39

change um the other thing would be to

play09:42

limit your color palette to five or six

play09:45

colors um more than that um your readers

play09:49

or viewers or whatever you want to call

play09:51

them will have a quite a hard time

play09:53

remembering the meaning behind any more

play09:55

than that anyway all right let's move on

play09:59

um when to use colors in data

play10:02

Vis

play10:04

um gradient colors as we've just started

play10:08

with today uh can be great to show a

play10:11

pattern you know something like a corle

play10:13

map that's like a heat map but it's hard

play10:15

to decipher actual values from them and

play10:18

to see differences between values

play10:21

consider showing your most important

play10:23

values using

play10:25

bars or position like in a DOT graph or

play10:28

even area

play10:30

and use colors to only show the

play10:32

categories um it mean that your readers

play10:34

will be able to decipher your values

play10:36

faster and if we look at this we've got

play10:39

a gradient value here CH in color change

play10:42

from poor to rich and Shore we go richer

play10:45

the darker ones that's fine um but you

play10:47

can see that the shape by

play10:50

adding circles makes it easier for for

play10:53

us to differentiate the segments if I

play10:55

just gave you that sliding value change

play10:58

there would be very difficult to sort of

play11:00

kind of guess at where one segment fits

play11:03

to another we can see that's not ideal

play11:06

but if we look at the next section here

play11:09

you can see that they sort of start

play11:11

working with the colors but you can see

play11:12

with the addition of some bars here when

play11:15

we're comparing people in group a which

play11:17

are the rich people obviously and b poor

play11:19

people we can see how they are

play11:22

differentiated using the bars and it

play11:25

makes it very easy to see how group A

play11:28

and B are segmented across these

play11:31

particular

play11:33

categories

play11:37

okay if you need more than seven colors

play11:40

in a chart I'm going to ask you to

play11:42

consider using another chart type or to

play11:45

group the categories together and with

play11:48

the MyTime data you'll notice that we

play11:50

have overarching categories and then

play11:53

we've got activities within them um so I

play11:57

think that's important uh try to avoid

play11:59

using more than seven of them that's

play12:01

kind of a rule of thumb thing the more

play12:04

colors in the chart rep to represent

play12:05

your data the hard it becomes to read it

play12:08

very quickly your readers will often

play12:10

need to consult back to the legend or

play12:12

the color key to understand what is

play12:14

shown in your chart so if that's the

play12:16

case you might want to choose using

play12:19

another chart so we can see there we'

play12:22

got the Candy Camera if I look at just

play12:24

that stacked bar chart at the top with

play12:26

the colors it's kind of okay I will

play12:29

probably put them in order of um how

play12:33

much they are but you know there's some

play12:35

segments there I'd need to know what a

play12:37

was and then I'd look through it would

play12:39

be quite difficult but you can see in

play12:41

the second one there the Stacked bar

play12:42

chart here we can compare them easily

play12:45

across even though they are

play12:48

gray okay let's move on to how to make

play12:51

better color choices again um always

play12:55

consider using and this is another rule

play12:57

um the same color for the same

play13:00

variables you can see here um if you use

play13:05

one color for all of your charts using

play13:07

the same color every time is the best

play13:10

option um for for displaying your data

play13:13

for example it's okay to show the

play13:15

unemployment rate uh in blue in the

play13:18

first chart that's sort of tearly dark

play13:19

blue color

play13:22

um but it's not okay to kind of switch

play13:25

it around or use it for something else

play13:27

in another chart so we can see the UK

play13:29

and China here are compared um UK's the

play13:33

red one going down China's going up and

play13:36

then underneath there yeah we can see

play13:39

that

play13:40

China is now red and Germany's in blue

play13:44

so it's the same color palette which

play13:45

you'd go oh yeah that's great I'm a

play13:47

designer I've got the color palette no

play13:49

let's make sure that if you've chosen a

play13:51

color for one thing it always remains on

play13:53

the next thing so we can see there where

play13:56

in the next chart Germany and China

play13:59

Germany now becomes yellow China is

play14:01

still going to be the teal color so

play14:03

we've been consistent and added in

play14:05

another color to show that so again the

play14:09

rule is use the same color for the same

play14:12

variables or the same categories if

play14:14

you'd like to think of them like that

play14:16

okay next one

play14:18

[Music]

play14:19

um make sure that you explain and some

play14:23

part in your data VI what your colors

play14:25

actually are encoding don't just put

play14:27

them there um so we can see there's a

play14:31

color several versions of how to do a

play14:34

color key here uh we've got a color key

play14:36

of Z to 100 so less to more of something

play14:40

we haven't told them what that scale

play14:41

refers to it's not to 100 what of we

play14:44

don't know and again we've got another

play14:46

one where it's segmented which I think

play14:48

is a lot easier to read so not 2550 75

play14:53

100 and then the third one is quite nice

play14:55

and that it's in a text version so

play14:58

you've managed to label how the data is

play15:01

being represented but also to color code

play15:03

and provide um some indication about

play15:07

what they mean so China's going to be in

play15:09

red and Germany's going to be in that

play15:10

teal color so make sure you explain to

play15:14

your readers what your colors are

play15:17

encoding next one

play15:20

um how to make better color choices I

play15:22

would always consider gray as the most

play15:25

important color in data views um using

play15:29

gray for less important parts in your

play15:32

chart allows you to use color as a

play15:35

highlight to draw attention to that as

play15:37

being the important data point in your

play15:40

your

play15:41

visualization um it's helpful for

play15:44

General context data um it's less or for

play15:49

less important

play15:50

annotations um to show what's not

play15:54

important to the user gray is great

play15:57

since gray can sometimes seem a bit cold

play16:00

uh you could consider using with a hint

play16:02

of color so a warm gray or something

play16:06

like that um or as a mattive or a super

play16:08

light yellow could work as well so we

play16:10

can see here with this chart we don't

play16:12

even need to know what it is but it

play16:14

would be very difficult to read um

play16:17

what's going on there go what's which

play16:19

what's what's the important one I should

play16:20

be looking at and it's the teal line so

play16:22

you can see just by making the others a

play16:25

thinner line and grayed out we can see

play16:28

the context of it our teal data but

play16:31

we're not distracted by having to look

play16:33

at all of the other colors there all

play16:36

right let's move on

play16:38

um make sure your contrasts are high

play16:41

enough and color contrast is one of

play16:44

those things that we need to pay

play16:45

attention to for accessibility but also

play16:48

just generally as designers it's

play16:50

something that's

play16:52

always you always need to pay attention

play16:54

to um it it means that we need to care

play16:58

about how our readers can read charts on

play17:00

a screen even in low light um and it's

play17:04

especially important for text the

play17:06

smaller the text the higher the contrast

play17:09

needs to be the contrast ratio between

play17:12

the background and foreground needs to

play17:14

be quite high it's 2.5 for big text and

play17:18

at least four for small text um in

play17:22

addition to having high contrast ratios

play17:25

you should avoid complimentary hues so

play17:29

things like red and green orange and

play17:32

blue are no nose or bright colors for

play17:35

backgrounds you can use tools to test

play17:38

your color contrast um and make sure

play17:41

that they're compliant we'll put a list

play17:42

of those at the bottom of the Pod

play17:44

today um so we can see some really bad

play17:48

examples of contrast there the one: one

play17:51

1.5 is okay in some cases 2.5 is a good

play17:55

choice 4.5 is a is a safe a choice and

play17:59

you can see with the colors horrible my

play18:03

eyes that's bad non ideal red and green

play18:05

and you can see how gray use again is

play18:08

being useful to us all right let's move

play18:12

on consider where your colors appear in

play18:16

relation to each other so this is an

play18:18

obvious one but something to think about

play18:20

the smaller the areas are on your chart

play18:23

the bigger or and the bigger the

play18:25

distance between them the harder it is

play18:27

to compare them so if we look at those

play18:30

little circles there we can see that you

play18:33

know we might have a great scale of that

play18:35

that green color there but because

play18:38

they're far apart and they're quite

play18:39

small circles it's it's going to be

play18:42

really hard we're asking our brain to

play18:44

remember colors and then try and compare

play18:46

them it's almost meaningless that first

play18:48

one but if they are in fact next to each

play18:51

other or the area of them is bigger we

play18:54

can see that it's a better one and you

play18:56

can see the colored in map there is much

play18:59

better than just the spots it's the same

play19:02

map that we're using but you can see

play19:03

using the area color allows us to see oh

play19:06

yeah More's happening in the wh the top

play19:10

top right hand left hand corner for you

play19:13

um there all right so consider where

play19:16

your colors appear in relation to each

play19:18

other and then make some

play19:20

adjustments all right next one use

play19:23

intuitive colors um when you're choosing

play19:26

your color palette consider the meaning

play19:28

or the culture meaning of your target

play19:30

audience uh if possible use colors that

play19:32

the readers will associate with your

play19:34

data anyway so party color colors that

play19:38

we looked at before like Republicans red

play19:40

Democrats are blue things like natural

play19:43

colors for the forest or water Green

play19:45

Lake blue or learned colors like red is

play19:49

alert or attention um or

play19:52

stop is red or green is sort of go um so

play19:56

when it it comes to uh color and coding

play19:59

things like gender as well um let's

play20:02

consider avoiding stereo stereotypical

play20:05

pink and blue

play20:07

combinations um but don't confuse your

play20:10

readers completely you could try you

play20:13

know a blue for male or teal color uh we

play20:18

can see the blue for the female red for

play20:19

the not ideal we can see over here the

play20:22

females have gone to yellow and the

play20:25

males have gone to teal so the not ideal

play20:28

ones

play20:29

that's oh that's so over there um good

play20:35

and bad not ideal good is usually green

play20:39

bad is usually red or you know it's aert

play20:42

Forest usually green like is the blue

play20:47

Etc so use intuitive colors where

play20:51

possible next one um

play20:54

using using light colors for low values

play20:57

and dark colors for high values and I've

play20:59

gone on about this a little bit already

play21:03

um so when you're using Color gradients

play21:05

make sure that the bright colors low

play21:07

values we know this now dark colors High

play21:11

values or big things um this will make

play21:14

it inity for most readers and you can

play21:16

see I flipped it around there in that

play21:17

first map um low to high low values to

play21:22

high values not very readable we would

play21:24

always go that dark area at the top

play21:26

there means there's a lot of something

play21:28

but now it's the high Valu and then you

play21:30

can see it flipped to its proper

play21:31

Arrangement there so that's a very

play21:34

intuitive one to take note of okay next

play21:38

one don't use a gradient color palette

play21:40

for

play21:41

categories so we saw it just used a

play21:44

second ago we use a gradient pal palette

play21:47

for values or the numbers of things do

play21:50

not use a gradient color P palette for

play21:54

categories so we can see Ivan David Anna

play21:58

and Lisa

play21:59

here but immediately if I look at that

play22:01

not ideal chart I would say that this in

play22:05

some way Ivan has more of something than

play22:07

everybody else um but you can see by

play22:10

choosing a different color palette we

play22:13

can see um we're not going to confuse

play22:16

our our um readers or viewers so don't

play22:21

use a gradient color palette so use of

play22:24

the same color for categories

play22:29

all right let's go back to some corop

play22:31

PLS again um use lightness to build

play22:35

gradients not just the

play22:40

Hue so you can see there's a hue base

play22:43

gradient in the first map it looks

play22:44

lovely I think it looks great to look at

play22:46

I like the teal and orange it's a great

play22:49

combination but at some point it becomes

play22:51

useless to me because I can't really

play22:55

looking at that tell what the

play22:57

concentration is I get the red is the

play23:00

most of

play23:01

something um but I kind of get fuzzy

play23:04

somewhere in the middle but you can see

play23:06

it's better for us just to use a

play23:08

lightness based gradients as in the

play23:11

second map there I can quite easily

play23:13

compare areas or locations across that

play23:17

map gradients with too much variation

play23:20

like rain rainbow scale scales will

play23:23

definitely confuse your viewers or

play23:26

readers okay cons you could

play23:29

to help with this consider using two

play23:32

Hues for a gradient not just one and you

play23:35

can see the one H it's not so bad we saw

play23:38

that a moment ago but using two Hues

play23:41

here going from the green to the dark

play23:43

blue Works quite nicely as well and

play23:46

makes it a little less overwhelming to

play23:48

look at the

play23:50

map so two or three carefully selected

play23:54

Hues can work in that

play23:56

case next uh consider they using

play23:58

Divergent color diverging color

play24:01

gradients so here we're going from

play24:04

Orange to Red so they're not very

play24:05

Divergent they're quite close to to each

play24:07

other in the color wheel but you can see

play24:10

teal and orange they're opposites on the

play24:12

color wheel and you can see that that is

play24:14

a better choice um to to

play24:18

display um the color Center should

play24:22

always ideally be a light gray rather

play24:27

than a white as well

play24:28

you can see both of those they look the

play24:30

first one looks white second one we've

play24:32

got a gray happening in

play24:35

there all right we're almost there

play24:37

people um next one color blindness it's

play24:40

something that we all need to pay

play24:42

attention to and I've put a link there

play24:44

to data wrapper to check for color blind

play24:47

combinations um people with color defici

play24:51

color vision deficiencies will need to

play24:53

be able to distinguish your colors

play24:55

there's many types there's many online

play24:58

tools data wrappers one is a great one

play25:01

for checking um to make sure they can

play25:05

consider so you can see that your map

play25:07

can be read and we can see normal vision

play25:09

for the first one there on the right

play25:11

there up there

play25:14

um you can

play25:16

see going through how different people

play25:20

with different blindnesses will go

play25:22

through that and you can see it becomes

play25:24

quite muddy in the second and third

play25:27

versions there on the the left hand side

play25:30

so always do a do do a quick check

play25:33

before you commit to your color um

play25:35

choices for color

play25:37

blindness um some further reading here

play25:40

um and I'll put that down below below

play25:43

today's um meure P all right well that

play25:46

was it our quick introduction to color

play25:49

um there's a lot more we could say say

play25:51

about it but just to wrap up remembering

play25:53

when you're going to be using gradients

play25:56

and remembering when you're using scale

play25:57

remembering some of the rules about

play25:59

category colors um and hopefully that

play26:02

was helpful so thanks for listening and

play26:04

I'll see you in class

Rate This

5.0 / 5 (0 votes)

Ähnliche Tags
Data VisualizationColor BasicsColor ScalesCategorical ColorsDesign PrinciplesVisual PsychologyColor ContrastAccessibilityColorblind FriendlyData Storytelling
Benötigen Sie eine Zusammenfassung auf Englisch?