Data coloring overview
Coloring your data in consistent and meaningful ways makes your reports more attractive and easier to understand. Data Studio offers several approaches you can use to color your data:
- Color by the dimension value. E.g., "France" is always represented in blue. This is the default behavior for new reports.
- Color by the order of the dimension data. E.g., the first series is always blue.
- Use shades of a single color (e.g. in pie charts).
- Color metrics and geo map regions.
Learn more about data coloring techniques.
You can use different techniques in the same report, if that makes sense for your data.
Change the default Color by technique
- Edit the report
- Click anywhere on the report margin to display the Layout and Theme panel
- Select the THEME tab
- Under the Color by options, select the new default behavior.
- You can use a default color theme or create a custom theme
- The current theme colors are used when you color dimensions by the order of the data, or when coloring metrics
- Overriding a color in the current theme updates the Custom theme
- The theme also provides the starting point for the dimension value color map, which is used when you color by dimension value
The rest of this article explains how all this works.
Work with colors
Use the color swatches in the chart palette options and various color pickers to select colors for your components. Click a swatch to display the color grid, then select the color you want for that component.
Create custom colors
Click the Custom swatch to display the custom color tool. Click anywhere in the color bars to pick a base color, then use the sliders to adjust the shade. You can also enter a color hex value to render that color. The current color's hex value can also be used to exactly duplicate a custom color in another component.
For example, in the image on the right, the blue color swatch has the hex value
#4285f4. You can copy and paste this value into another object's color picker to set it to this soothing shade of blue.
When one color fades into another, the effect is called a gradient. You can use gradients in a component's background color property.
- Click the background color control:
- Click Gradient
The left and right color swatches determine the starting and ending colors. Enter the specific color hex values, choose from the palette, or use the vertical sliders to select the color.
The orientation arrow controls the flow of the gradient.