You are asked to create a plot comparing the distribution of a variable across different categories, highlighting the median and interquartile range. Which Seaborn plot would you choose?

  • Box Plot
  • Line Plot
  • Swarm Plot
  • Violin Plot
To compare the distribution of a variable across categories while highlighting the median and interquartile range, a Violin Plot in Seaborn is a suitable choice. It combines a box plot with a kernel density estimation to provide a richer visualization of the data distribution.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *