Color on Purpose
You'll make color mean one thing on each chart, pick the right kind of palette for the data, and check that someone with color blindness can still read it.
About
Default charts hand out color like confetti: twelve categories, twelve hues, and nothing you can read at a glance. Color is a channel, and like every channel it should carry one piece of information or none at all. This badge is three charts where color does one job each: a categorical palette for kinds of things, a sequential one for amounts, and a diverging one for values above and below a middle. You'll also check every chart with a color blindness simulator, since about one man in twelve can't tell your red from your green. Every chart here uses a palette you chose, even where the defaults happened to be fine, because the point is knowing why.
At a glance
- Per requirement
- 15 XP
- Completion bonus
- 75 XP
- Requirements
- 5
- Takes
- One evening
- Skill level
- Beginner (done it a few times)
- Cost
- Free
- Supplies
- Nothing special
- Where
- At home
- Other people
- On your own
Requirements
-
1
Take a chart with more than five colored categories and make all but one of them grey. Pick the one line or bar that carries the finding, give it a strong color, and turn the rest a light grey. Label the highlighted one directly instead of with a legend. Put the before and after side by side. This one move fixes more charts than any other. Take a screenshot of the pair. Photo
-
2
Build a sequential chart where darker means more, with a palette that stays in order in greyscale. Heatmaps, shaded bars and maps of amounts all want a single hue running from light to dark, or a palette built for the job like Viridis or one of ColorBrewer's sequential sets, both free. Export it in greyscale and check it still reads in order. A rainbow palette fails this test, which is why it isn't allowed on this badge. Take a screenshot of the chart and its greyscale version. Photo
-
3
Build a diverging chart with a real middle, like change from last year or difference from the average. Two hues meet at a neutral color in the middle, and the middle has to mean something, like zero or the average. Make the two sides the same strength so the chart doesn't favor one. Say in the title what the middle is. Take a screenshot. Photo
-
4
Run all three charts through a color blindness simulator and fix anything that fails. Coblis is free online, Datawrapper has a simulator built in, and most design tools have one. Check deuteranopia at least, since it's the common one. If two colors merge, change one of them or add a pattern, a label or a shape. Take a screenshot of the simulator view beside the original. Photo
-
5
Write a one-page palette card for yourself with a categorical set of six, a sequential set, a diverging set and a grey. Put the hex codes on it and keep it somewhere you'll find it, because the second-biggest color mistake is picking new colors every time. Take a photo or screenshot of the card. Photo