A strip is basically a scatter plot where the x axis represents a categorical variable. Typical uses of a strip plot involves applying a small random jitter value to each data point such that the separation between points becomes clearer:
# Strip plot with jitter valueax = sns.stripplot(x="population type", y="dollar_price", data=merged_df2, jitter=True)ax.set_xlabel("Population type")ax.set_ylabel("BigMac index (US$)")plt.show()
![](/api/v2/epubs/9781788295260/files/assets/7208c0e2-c3d2-43f0-83c3-8c74adbced06.png)
A swarm plot is very similar to a strip plot, yet the locations of points are adjusted automatically to avoid overlap even if the jitter value is not applied. These plots resemble bees swarming ...