Creating a shared axis chart
A shared axis chart in Tableau is a chart that shares one axis among multiple measures. This chart can be used when the measures have similarly ranged values, and can be presented using one mark and one scale.
In this recipe, we will compare field goals made vs field goals attempted by Phoenix Suns players in the NBA 2009 season by using a shared axis chart.
Getting ready
To follow this recipe, open B05527_02 – STARTER.twbx
. Use the worksheet called Shared Axis
, and connect to the Player Stats (NBA Players Regular Season 2009)
data source.
How to do it...
The following are the steps to create a shared axis chart:
From Dimensions, drag Team Name to the Filters shelf.
Under the General tab, check Suns.
From Dimensions, drag Year to the Filters shelf.
Under the General tab, choose 2009.
From Dimensions, drag League to the Filters shelf.
Under the General tab, check N for NBA.
If it doesn't exist yet, create a calculated field called
Player Name
, and provide the following formula...