A reference band creates a banded or shaded area in a chart, and can show if other points fall within a range or interest or not.
In this recipe, will highlight the time range when water quality complaints are filed using a reference band:
To follow this recipe, open B05527_06 – STARTER.twbx
. Use the worksheet called Reference Band and connect to the NYC Water Quality Complaints data source:
The following are the steps to create the time series graph with reference band in this recipe:
5 PM
:A reference band is essentially two reference lines where the range between the lines are typically shaded. Reference bands help draw the eyes to the range that may be important to highlight or emphasize.
In Tableau, we can drag Reference Band from the Analytics pane and drop it onto our view. If we have different groups in the view, we will be presented with the scope options Tableau, Pane, and Cell. If there is more than one axis, we also have the option of creating the band on one of the axes or both.
With a reference band, we need to supply the range – the Band From and the Band To value. Before we can select this in the Edit Reference Line, Band, or Box window, we need to make sure the fields for the boundary values are already in the view. If it is not yet there, and it does not need to be placed in a way that affects the overall view, we can place these fields in the Details property in the Marks card.
For a reference band, we typically also need to change the fill so that the range between the values are shaded.
18.191.181.252