Skip to content

Use color to highlight focus groups

badcolor and encodingjudgmentWilke 2019 p. 33Knaflic 2015 p. 108Knaflic 2015 p. 128Knaflic 2015 p. 155Tufte 1997 p. 110Few 2012 p. 144Few 2012 p. 147Few 2012 p. 215Munzner 2014 p. 28Munzner 2014 p. 315Munzner 2014 p. 109Miller 2013 p. 242Miller 2013 p. 249Miller 2013 p. 437Aigner 2023 p. 105Aigner 2023 p. 243Aigner 2023 p. 249

How does Iceland compare with the other Nordic countries in 2007 life expectancy?

Plotly Express Gapminder dataset, Nordic countries in 2007.

“Color can also be an effective tool to highlight specific elements in the data”

Claus O. Wilke, "Fundamentals of Data Visualization", p. 33.

Also covered in Knaflic 2015 (4 focus your audience's attention, p. 108), Knaflic 2015 (5 think like a designer, p. 128), Knaflic 2015 (6 dissecting model visuals, p. 155), Tufte 1997 (6 Multiples in Space and Time, p. 110), Few 2012 (7 GENERAL DESIGN FOR COMMUNICATION, p. 144), Few 2012 (7 GENERAL DESIGN FOR COMMUNICATION, p. 147), Few 2012 (10 COMPONENT-LEVEL GRAPH DESIGN, p. 215), Munzner 2014 (2 What: Data Abstraction, p. 28), Munzner 2014 (13 Reduce Items and Attributes, p. 315), Munzner 2014 (5 Marks and Channels, p. 109), Miller 2013 (11 Choosing How to Present Statistical Test Results, p. 242), Miller 2013 (11 Choosing How to Present Statistical Test Results, p. 249), Miller 2013 (19 Speaking about Multivariate Analyses, p. 437), Aigner 2023 (4 Crafting Visualizations of Time-Oriented Data, p. 105), Aigner 2023 (Appendix A Survey of Visualization Techniques, p. 243), Aigner 2023 (Appendix A Survey of Visualization Techniques, p. 249).

CVD preview

Before

Five distinct colors give every country equal visual weight and pull attention away from the focal comparison.

Download before Python code

After

One Okabe-Ito blue accent isolates Iceland while muted gray holds the peer countries as calm context.

Download after Python code

Values

Iceland leads the Nordic group at 81.8 years, ahead of Sweden at 80.9 and Norway at 80.2.

Values used in both charts
CountryLife expectancy (years)
Denmark78.33
Finland79.31
Norway80.2
Sweden80.88
Iceland81.76