A pie chart represents data as slices of a circle with different sizes and colors. The slices are labeled and the numbers corresponding to each slice are also represented in the pie chart. You can select the pie chart option from the Marks card to create a pie chart.
Choose one dimension and one measure to create a simple pie chart. Here I am taking the dimension named Region with the measure named Profit.
Drop the Region dimension in the colors and label marks. Drop the Profit measure into the size mark. Choose the chart type as Pie. The following chart appears which shows the 4 regions in different colors.
A crosstab chart in Tableau is also called a Text table, which shows the data in the textual format. The Crosstab chart is made up of one or more dimensions and one or more measures.
You can see various calculations on the values of the measured field such as running total, percentage total, etc.
Here, I am using the Sample-superstore to demonstrates this example. Let's plan to get the number of sales for each segment in each region. You need to display this data for each year using the order dates available.
Follow the below steps in the Tableau worksheet :
You can encode these crosstab values with colors by dropping the measure field into the color shelf as shown below.
In addition to the color encoding, you can also perform calculations applied to the values from the measure field.
In the following example, we apply the calculation for finding the percentage total of sales in each row instead of only the sales figures. For this,