Skip to content

Color with a natural order

badcolor and encodingmechanicalTufte 2001 p. 154Cleveland 1994 p. 232Wilke 2019 p. 29Knaflic 2015 p. 115Knaflic 2015 p. 116Knaflic 2015 p. 159Tufte 1997 p. 70Tufte 1997 p. 76Tufte 1997 p. 77Few 2012 p. 324Few 2012 p. 71Few 2012 p. 134Munzner 2014 p. 208Munzner 2014 p. 224Munzner 2014 p. 224Aigner 2023 p. 268Aigner 2023 p. 90Aigner 2023 p. 156

Which sepal measurement bands contain the most flowers?

Plotly Express Iris dataset, binned into half-open intervals.

“Color often generates graphical puzzles”

Edward Tufte, "The Visual Display of Quantitative Information", second edition, p. 155.

Also covered in Tufte 2001 (7 Multifunctioning Graphical Elements, p. 154), Cleveland 1994 (4.3 Color Encoding, p. 232), Wilke 2019 (4 Color Scales, p. 29), Knaflic 2015 (4 focus your audience's attention, p. 115), Knaflic 2015 (4 focus your audience's attention, p. 116), Knaflic 2015 (6 dissecting model visuals, p. 159), Tufte 1997 (3 Explaining Magic: Pictorial Instructions and Disinformation Design, p. 70), Tufte 1997 (4 The Smallest Effective Difference, p. 76), Tufte 1997 (4 The Smallest Effective Difference, p. 77), Few 2012 (Appendix F ANSWERS TO PRACTICE IN SELECTING TABLES AND GRAPHS, p. 324), Few 2012 (5 VISUAL PERCEPTION AND GRAPHICAL COMMUNICATION, p. 71), Few 2012 (6 FUNDAMENTAL VARIATIONS OF GRAPHS, p. 134), Munzner 2014 (9 Arrange Networks and Trees, p. 208), Munzner 2014 (10 Map Color and Other Channels, p. 224), Munzner 2014 (10 Map Color and Other Channels, p. 224), Aigner 2023 (Appendix A Survey of Visualization Techniques, p. 268), Aigner 2023 (4 Crafting Visualizations of Time-Oriented Data, p. 90), Aigner 2023 (5 Involving the Human via Interaction, p. 156).

CVD preview

Before

Unrelated hues represent counts. Their order is hard to infer without the color bar.

Download before Python code

After

Increasing blue darkness follows increasing counts. The middle length and width bands contain many of the flowers.

Download after Python code

Values

The table gives the counts for all 20 bins, which together contain 150 flowers.

Values used in both charts
Length band (cm)Width band (cm)Flowers
4 to 52 to 2.52
5 to 62 to 2.55
6 to 72 to 2.54
7 to 82 to 2.50
4 to 52.5 to 32
5 to 62.5 to 319
6 to 72.5 to 321
7 to 82.5 to 34
4 to 53 to 3.517
5 to 63 to 3.517
6 to 73 to 3.529
7 to 83 to 3.56
4 to 53.5 to 41
5 to 63.5 to 416
6 to 73.5 to 40
7 to 83.5 to 43
4 to 54 to 4.50
5 to 64 to 4.54
6 to 74 to 4.50
7 to 84 to 4.50

Related rules