-
Book Overview & Buying
-
Table Of Contents
Learn D3.js - Second Edition
By :
Selecting an effective color scheme for data visualization involves more than aesthetics. Besides distinguishing and suggesting associations between sets of data, they communicate information through aspects such as hue, contrast, saturation, or lightness. They are critical to guarantee the accuracy of a chart, based on how they are perceived when displayed across different devices, printed, or interpreted by visually impaired viewers. The choice of colors is never neutral. They may attract or repel the viewer from relevant information.
Colors that vary in lightness and saturation suggest a sequential relationship (stronger/weaker, hotter/colder). Opposing data is often depicted using divergent color palettes, where extremes are shown using complementary colors. If your data represents different categories, a qualitative or categorical color scheme will serve it better. Depending on your audience and the purpose of your chart, you may also consider accessibility issues such...