In this example, you are interested in whether there is a relationship between the time of day and the activity of dolphins. Your data consist of Activity and Period (time of day) combinations, and the numbers of Groups of dolphins observed for each combination. Notice that Groups is a frequency column.
Select Help > Sample Data Library and open
Select Graph > Graph Builder.
Select Period and drag it to the X zone.
Select Activity and drag it to the Y zone.
Select Groups and drag it to the Freq zone.
Figure 3.39 Mosaic Plot for Dolphin Activity

Help created on 7/12/2018