Toan Hoang

Drawing a Circle Dot Chart

I saw the following while looking for inspiration and thought that this would be fun to build, to build this visualisation as well as to include some neat variations. This should be a very nice and quick data visualisation to draw in Tableau.

Note: This is an alternative type of data visualisation, and sometimes pushed for by clients. Please always look at best practices for data visualisations before deploying into production.

Data

Load the following data into Tableau Desktop / Public.

PathValue
10.6
3610.6

Note: we need two records for each Country as we are going to be drawing lines and using densification to get more points on our canvas. For more information, check out our article on Data Densification.

Calculated Fields

With our data set loaded into Tableau, we are going to create the following Calculated Fields and Bins:

Create Path (bin)

Now let us create the following Calculated Fields:

Index

INDEX()-1

TC_Step Size

(WINDOW_MAX(MAX([Path]))/(WINDOW_MAX([Index])))*
(((WINDOW_MAX([Index]))-1))/(WINDOW_MAX([Index]))

Note: This is the complicated part of this tutorial, have a shot at figuring out this calculation.

X

SIN(RADIANS([Index]*[TC_Step Size]))

Y

COS(RADIANS([Index]*[TC_Step Size]))

TC_Color

IF [Index]/WINDOW_MAX([Index]) < WINDOW_MAX(MAX(Value)) THEN
    "Color"
ELSE
    "Grey"
END

Zero

0

So now that we have created a lot of Calculated fields, we will now put this together into a Worksheet.

Worksheet

We will now build our worksheet:

If all goes well, you should now see the following:

Now we will add the text to the center of the circle:

You should now see the following:

Now we will adjust the cosmetics:

You will want to have the following:

and boom, we are done with this visualisation, you can find my data visualisation on Tableau Public at
https://public.tableau.com/profile/toan.hoang#!/vizhome/CircleDotCharts/CircleDotChart

…but before we go, let us try to create some variations.

Variation 1

Drag Index onto Size, and set Compute Using to Path (bin). We will get the following:

Variation 2

Edit the Object Color and Border Color to get the following:

Summary

I hope you all enjoyed this article as much as I enjoyed writing it and as always do share the love. Do let me know if you experienced any issues recreating this Visualisation, and as always, please leave a comment below or reach out to me on Twitter @Tableau_Magic.

If you like our work, do consider supporting us on Patreon, and for supporting us, we will give you early access to tutorials, exclusive videos, as well as access to current and future courses on Udemy:

Also, do be sure to check out our various courses:

Exit mobile version