Toan Hoang

Creating Nolan Charts in Tableau

I have been following the 2020 US election very closely, yes, it is still in the primary season, but I saw a Nolan Chart and thought that I had to create this in Tableau. So found this quite interesting, so hopefully, you will do as well.

Data

We will start by loading the following data into Tableau Desktop / Tableau Public.

PoliticianSocial Issue ScoreEconomic Issue Score
Joe Biden8015
Mike Bloomberg8030
Pete Buttigieg7330
Tulsi Gabbard8533
Elizabeth Warren885
Bernie Sanders983
Amy Klobuchar7010
Donald Trump2083
Mike Pence1095
Andrew Yang8320
Marianne Williamson908
Tom Steyer8318
Bill de Blasio8513
Julian Casto7513
Howard Schultz7333
Cory Booker8018

This information has been collated from the On The Issues website, where they have tracked the positions of politicians and given it a score. You can read more about this here: https://www.ontheissues.org

Calculated Fields

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

Hypotenuse

SQRT(SQUARE([Social Issues Score])+SQUARE([Economic Issues Score]))

Yes, we get to use the Pythagorean theorem, I did not think I would ever have a need to use this.

Angle (Degrees)

DEGREES(ACOS(ZN([Economic Issues Score])/ZN([Hypotenuse])))

Angle (Degree+45)

ZN([Angle (Degrees)]+45)

Note: We are going to rotate the angle of the point by 45 degrees (we can make this dynamic, but for a Nolan Chart, 45 degrees is what we are looking for).

X

COS(RADIANS([Angle (Degree+45)]))*[Hypotenuse]

Y

(SIN(RADIANS([Angle (Degree+45)]))*[Hypotenuse])-70.7

Note: We subtract 70.7 to move the centre point to zero. For me, it just makes things a bit neater.

With this done, let us start creating our data visualisation.

Worksheet

We will now build our worksheet:

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

Now I want you to download the following background image:

This was created using a combination of Excel and GIMP, but we can use this forevermore. With the file downloaded, we will not apply this.

You should now see the following:

With this, we now have our Data Visualisation functionally built. So now we will work on cosmetics:

You should now want to end up with the following:

and boom, we are done! I hope you enjoyed creating this data visualization and learned some cool techniques as well. As always, you can find this data visualisation on Tableau Public at https://public.tableau.com/profile/toan.hoang#!/vizhome/NolanChart/NolanCharts

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 Visualization, and as always, please leave a comment below or reach out to me on Twitter @Tableau_Magic. Do also remember to tag me in your work if you use this tutorial.

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