I have attached a workbook with a created pie chart for you to look at. I also have 2 comments.
1) Common best practice involves using bar graphs instead of pie charts. They are shown to be easier for people to read. I have also created a bar graph in the workbook for you to examine.
2) The Show-Me feature in the upper right corner of the Tableau window is great for these things. You can select any measures/dimensions you want to use, and Tableau will tell you which charts best visualize the data.
Hope this helps,
Book2.twbx.zip 67.4 KB
Yeah, for gender splits, we tend to do it in pie charts in-house.
I understand the show-me feature, which is quite good, unfortunately, it's not allowing me to create a pie chart with the data I have.
I have both a dimension and a measure (as shown in the above) but it still won't let me do it.
Am I missing something?
2 of 2 people found this helpful
In a relational sense, you don't have a measure, you have two dimensions, one of which you are applying a COUNTD() to. Follow these steps:
1) Open a blank worksheet
2) In the Marks Card, Select Mark Type "Pie Chart"
3) Drag [Gender] to the Color Shelf
4) Hold Right-Click on [RespondentID], while holding Right-Click, Drag it to the Angle Shelf. This will allow you to select an aggregation. Select COUNTD().
Does this make sense?
Hi Brad Llewellyn:
Sure made a lot of sense to me! This was exactly the help I needed, and saved me a lot of time by avoiding trying to figure it out myself. Appreciate the clear and concise instructions.
One question--is there an easy way to show the marks on the pie as a percentage rather than the countd numbers?
I just found this, too, which are clear directions for how to display percentages using a Table Calculation.
Thanks to all. Wish I could mark his question answered!
Interesting read. I agree that pie charts are not usually the best choice, but I am learning as much as possible anyway. Thanks Shawn!