Great work! Here are some of the major takeaways from boxplots:

  • The box of a boxplot visualizes the median, first quartile, and third quartile of a dataset.
  • The length of the box in a boxplot visualizes the interquartile range.
  • The whiskers extend from the box 1.5 times the size of the interquartile range.
  • Outliers are points that fall outside of the whiskers. They’re represented by dots.
  • Boxplots are especially useful for comparing the spread of multiple datasets.


On this page, we’ve imported five different test datasets. We’ve drawn both the boxplot and the histogram for each dataset (you might need to scroll down to see all of the histograms). What are some of the advantages and disadvantages of each type of graph? Think about your ability to articulate your understanding of things like:

  • The spread of the data
  • The central tendency of the data
  • Your ability to compare different datasets
  • The number of data points in each dataset

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?