Toan Hoang

Creating Layered Area Charts in Tableau

Just for some variety, check out this simple and fun blog about create Layered Area Charts in Tableau. We are literally using our data to draw the area chart using polygons, and then positioning them on the canvas. I hope you enjoy this and have loads of fun.

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.

Calculated Fields

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

X Distance Parameter

Y Distance Parameter

Race Index

INDEX()

TC_Estimate

WINDOW_SUM(SUM([Estimation]))

Index

INDEX()+([Race Index]*[X Distance])

Rows

(SUM([Estimation]) / TOTAL(SUM([Estimation])))+([Race Index]/[Y Distance])

Worksheet

We will now build our worksheet:

If all goes well, you should have the following:

You can adjust the distances using the X Distance and Y Distance Parameter, so why not have some fun with that… however, we will now adjust the cosmetics.

If all goes well, you should now be looking at the following:

Now I want you to change the Parameter settings for the layered effect.

Play around with the Parameters and tweak to your taste. As the last step, I want you to edit the Tooltips, and add a label at the end of the Line. You will want to end up with the following:

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

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