May
12
Radial Bar Chart Revisited
Video tutorial shows a new way to prepare the data using self Union.
A few days ago, one of our #MakeoverMonday Data Camp mates Jocelyn Ji created a viz based on radial bar chart. It looks interesting. So I dug into it and found the original approach is published by Toan Hoang. Tableau's product guru Bora Beran also created a similar chart a while ago.
I found that the calculation of the chart can be made a bit easier:
- all (nested) table calculations only need to compute along a single dimension.
- shorter bars need fewer data marks. Total data marks are reduced.
Here is my approach, based on the same data set as Hoang's, with an extra column Type. This table can be generated using Union or Cross Join from the original data.
Path is created from Type.
A few days ago, one of our #MakeoverMonday Data Camp mates Jocelyn Ji created a viz based on radial bar chart. It looks interesting. So I dug into it and found the original approach is published by Toan Hoang. Tableau's product guru Bora Beran also created a similar chart a while ago.
I found that the calculation of the chart can be made a bit easier:
- all (nested) table calculations only need to compute along a single dimension.
- shorter bars need fewer data marks. Total data marks are reduced.
Here is my approach, based on the same data set as Hoang's, with an extra column Type. This table can be generated using Union or Cross Join from the original data.
Path is created from Type.