Sequential vs. diverging vs. categorical: when to use each
Sequential palettes encode magnitude: the progression from light to dark (or vice versa) maps to low-to-high values. Use sequential when the data has a natural minimum and maximum without a meaningful midpoint — population density, sales volume, temperature (not anomaly). A single-hue sequential palette (e.g., light yellow → saturated orange → dark brown) is always safe; multi-hue sequential palettes (e.g., yellow-green → blue-green → dark blue) can increase discrimination at the cost of implying a direction change. Diverging palettes have two hues that meet at a neutral center. Use diverging when zero or the mean is meaningful — financial variance, survey agreement (strongly disagree to strongly agree), geographic deviation from average. The two endpoint hues should be perceptually equidistant from the neutral center in luminance. Categorical palettes need hues that are perceptually distinct and do not imply order. Maximum categorical discrimination: space hues at least 30-40° apart on the wheel, vary lightness slightly to add discrimination, and never use adjacent warm colors (yellow, orange, red) as separate categories — they look too similar under small chart element sizes.
