Let's now plot swarmplot. We use seaborn's swarmplot method for this, as follows:
sns.swarmplot(x="season", y="us_viewers_in_millions", data=df);
The output is as follows:
Here, we have also passed the season number on the x axis, and use viewers in millions on the y axis.