The categorical distribution is the most general discrete distribution and is parameterized using a parameter specifying the probabilities of each possible outcome. Figure 6.3 represents two possible instances of the categorical distribution. The dots represent the values of the categorical distribution, while the continuous lines are a visual aid to help us easily grasp the shape of the distribution:
Figure 6.3