About Color Assignments in Visualizations

You can work with color to make visualizations more attractive, dynamic, and informative. You can color a series of measure values (for example, Sales or Forecasted Sales) or a series of attribute values (for example, Product and Brand).

Your color choices are shared across all visualizations on the canvas, so if you change the series or data point color in one visualization, then it appears on the other visualizations.

The Visualize canvas has a Color section in the Grammar Panel where you can put a measure column, attribute column, or set of attributes columns. The canvas assigns color to the columns that are included in the Color section:

  • When a measure is in the Color section, then you can select different measure range types (for example, single color, two color, and three color) and specify advanced measure range options (for example, reverse, number of steps, and midpoint).

  • When you’ve one attribute in the Color section, then the stretch palette is used by default. Color palettes contain a set number of colors (for example, 12 colors), and those colors repeat in the visualization. The stretch palette extends the colors in the palette so that each value has a unique color shade.

  • If you’ve multiple attributes in the Color section, then the hierarchical palette is used by default, but you can choose to use the stretch palette, instead. The hierarchical palette assigns colors to groups of related values. For example, if the attributes in the Color section are Product and Brand and you’ve selected Hierarchical Palette, then in your visualization, each brand has its own color, and within that color, each product has its own shade.