Swarmplot for plotting categorical data distribution?

Are swarmplots useful for plotting categorical data distribution?
I think yes and seaborn documentation seem to suggest that as well.

But the official Week 11 quiz answer mark it otherwise. Is it a mistake or there is some valid reason for the answer there.

Yes we can separate out swarms for different categories, but the ultimate goal is to show the spread for numerical values.

I think the context of the question was in terms whether a swarm plot is valid for only categorical based data. Not sure though, will check and get back to you.

1 Like