Color, size and opacity
Differentiate data in visualizations using color, sizing and opacity
Colors
You can set colors in two ways:
Assign a single color – Use the color picker, enter a HEX code, use the dropper to match a color from the canvas, or select from the Shared styles tab.
Map a column to color – Drag a continuous or discrete column into the Color field.
Assign a single color
You can do this in a few ways by:
Selecting a color from the palette

Entering in the Hex code of a color

Using the dropper to match another color from the canvas

Select a shared color by clicking on the Shared tab. Learn more about Shared styles.

It is also possible to adjust the Opacity of the selected color, either using the slider or by entering an Opacity percentage.
Discrete color mapping
You can map a discrete column on the Color field by dragging it to the Color channel. To customize this mapping further:
Click on the ellipses (...) beside the column name and choose from logic and display tab options.
To change the colors being mapped to discrete columns, in the Display tab either:
Select a palette – Choose a default palette from the dropdown, or create your own custom palette.
Reorder colors – Drag the color icons to change their order. Colors are applied left to right based on category order.
Edit overrides – Click Edit overrides to manually assign colors to specific categories.

Continuous color mapping
Mapping a continuous color can be done in the same way, though the Display options to format this are different:
Choose a Scale: Options include Linear, Logarithmic, Power, or Symmetric log. Each has additional configuration fields.
Customize a palette: Pick a predefined palette from the dropdown, or choose Custom to create your own. When customizing:
Click a square above the gradient to change its color, or press Delete to remove it.
Drag the squares along the gradient to adjust their position.
Click anywhere on the gradient to add a new square.
Click Save palette to save it as a shared style in your canvas.
Set the number of steps: Adjust the number of color steps available in the gradient.
Size
Assign a fixed size – Click on the icon beside the Size field to apply the same size to all data points.

Map a column to size:
Drag a column into the Size field to size marks dynamically based on data values.
Click on the ellipses (...) menu for logic and display tab options.
Select to Display tab to customize the formatting. In this example, I have changed the 'Range' values to adjust the mimum and maximum sizes of the circle marks in this visualization.
Opacity
Set a fixed opacity – Select the icon beside the Opacity field and use the slider or enter a percentage.

Map a column to opacity:
Drag a column into the Opacity field to vary transparency based on data values.
Click on the ellipses (...) menu for logic and display tab options.
Last updated