
How to create a simple 4-colour quadrant in Tableau
The example in this blog is based on data provided by The World Bank and is also available on makeovermonday.co.uk/data under 2020 -> Week 11.
Step 1. Build a scatter plot and add reference lines to both axes.

Step 2. Create a calculated field to colour the circles falling under the 4 parts of the quadrant differently. Place the new field on the Colour shelf.

Configure the table calculation as below:

Click on the Colour shelf and choose colours you like. You may want to reduce the opacity to something like 60% if your circles are overlapping.

Step 3. Add 4 annotations to each side of the quadrant. Right click on the scatter plot -> ‘Annotate’ -> ‘Area’.

Add a label to your newly created annotation and expand the area to each side of the reference lines. Then right click on it -> ‘Format’ and choose appropriate color under ‘Shading’. Use low opacity or very subtle colors, so that your points on the scatter plot stand out.
Repeat the last step for each side of the quadrant.

And there you have it – a nice and simple 4-colour quadrant in Tableau!

Advantages of this technique:
- It is very easy to create.
- Your quadrant can be forced to remain in the same shape even if your axes change when more data comes in or when filters are applied. For example, if GDP per Capita reaches 150,000 on the x-axis above in the following year, you can force the annotation to reach to 150,000 via adjusting the axis, and this will preserve its shape.
Disadvantage of this technique:
- It can only be used if your reference lines on both axes remain static.
If you have any questions about this blog, or would like to chat about Tableau in general, do not hesitate to get in touch on Twitter @nataliatamiteva.
Thank you for this as just what I need as somebody wants a nice static scatter graph for their report!
I can’t see the images on this page anymore 🙁
The images in the article are not loading. Can you please fix it?
Hi Satish, they have been fixed now.
Not really good in color. People look more into dynamic axis
Nice one…Can I ask how you can do a 6 or 8 colour quadrant? What would be the change in the formula?
Hi, when you add the annotation area, can you still hover on the scatter plot points to see their values or country name? Or does it stay always at the front?
Can you dynamically change the coloured areas? If my scatterplot changes each time, I’d like the background colours to be adjusted and avoid annotate the area manually each time