A bullet chart allows us to visualize progress in a small, concise graph. This chart borrows from thermometers and progress bars, and is typically used to show goals vs actuals.
In this recipe, we will create a bullet chart that shows the comparison between field goals attempted and field goals made by Phoenix Suns players in the NBA 2009 season.
To follow this recipe, open B05527_02 – STARTER.twbx
. Use the worksheet called Bullet Chart
, and connect to the Player Stats (NBA Players Regular Season 2009)
data source.
The following are the steps to create a bullet chart:
Bullet charts are simple, concise graphs that are packed with information. These charts are great for tracking progress.
Bullet charts are composed of a bar chart, a reference line, and a reference band. In this recipe, we started by creating a bar chart using the Field Goals Attempted measure.
Before we added our reference line, Field Goals Made, we added it first to the Details card. The reason for this is because in order to be able to use this in a reference line, it needed to already be in our view—on any of the shelves or any of the cards. Otherwise, you will not see this in the Value dropdown.
The final piece is the distribution band. Although it looks like it is simply an aesthetic addition, it does in fact display additional information. Stephen Few calls this the Quantitative Scale, which typically color codes certain sections or ranges in the bullet chart. In our case, we used this to indicate 60%, 80%, and 100% of the average sum of goals.
The additional options are Percentiles, Quantiles, and Standard Deviation. In the configuration box, you can also choose the type of aggregation to use with the measure.
There was a time when radial gauges in dashboards were all the rage. The inherent problem with these dashboards was gauges took up a lot of space, and they weren't very clear in communicating the information. Stephen Few mentioned this in his books and blogs.
Check out this article called Business Gauges—BI vendors just don't get it: https://www.perceptualedge.com/blog/?p=102
Stephen Few coined the word bullet chart as an alternative graph to these gauges. It is meant to be a very compact chart, and every element is meant to communicate a number. Stephen Few mentions that its linear and no-frills design provides a rich display of data in a small space, which is essential on a dashboard.
Stephen Few's bullet chart specification can be found at https://www.perceptualedge.com/articles/misc/Bullet_Graph_Design_Spec.pdf.
In this recipe, we have manually created the bullet chart by starting with a bar chart, and then adding reference lines. Another way to create bullet charts in Tableau is by selecting all the dimensions and measures you want to graph, and selecting the bullet chart icon in Show Me. The only challenge with this approach is that Tableau will pick which measure goes on the bar and which measure goes on the reference line. If the selection turned out to be the incorrect selection, you can simply right-click on the axis and choose to swap the reference lines.
If you need to remove any reference lines, you can right-click on the axis as well, and choose to remove the reference line.
3.144.119.170