Toan Hoang

Creating Calendar Circle Charts in Tableau

This is another chart type that been requested, and while I created and published this on Tableau Public a while ago, I have only just gotten around to writing the tutorial. So I really hope you enjoy this tutorial.

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 this into production.

Data

Download and load the following data into Tableau Desktop / Tableau Public.

Note: If you have Tableau Desktop, you can use the Sample Superstore to follow this tutorial.

Calculated Fields

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

Depth Parameter

Distance from Center Parameter

Now create the following Calculated Fields:

Index

(INDEX()-1)

Multiplier

360/53

Note: this is used to evenly space the weeks out.

Item

IF ([Index]%[Depth]) < [Depth]/2 THEN
    ROUND([Index]/[Depth],0)
ELSE
    ROUND([Index]/[Depth],0)-1
END
* [Multiplier]

Distance

([Index]%[Depth])+[Distance from Center]

X

SIN(RADIANS([Item]))*[Distance]

Y

COS(RADIANS([Item]))*[Distance]

and that is all, we will now build our Worksheet.

Worksheet

We will now build our worksheet:

Note: When working with dates, always consider the Show Missing Values settings.

If all goes well, you should see the following:

Now we will update the cosmetics:

You should now see the following:

and boom, we are done, have some fun change the Distance and Depth parameters, and as always, you can find my data visualisation on Tableau Public at https://public.tableau.com/profile/toan.hoang#!/vizhome/CalendarCircleChart/CalendarCircleChart

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