Box plot
A box plot is a statistical graphic that summarizes a numerical distribution using quartiles, a median, and whiskers or markers indicating spread and potential outliers.
Statistics Slam Dunk
A boxplot summarizes the distribution of a numeric variable using quartiles, a median, whiskers, and potential outliers.
- How it is used
- Compares numeric distributions across NBA groups, seasons, and categories while highlighting spread, medians, means, and outliers.
- How deep it goes
- Defines the IQR, median, whiskers, and outliers, then develops grouped, notched, paired, and mean-annotated ggplot2 implementations.
- Examples
- Uses career win shares, free-agent salaries and positions, player deflections, home-road fouls, Gini coefficients, and standardized NBA wins.
- What you can do after
- Apply it via ggplot2 to plot grouped distributions, add mean markers, and prepare paired measures with pivot_longer().
Pandas Workout: 200 exercises to make you a stronger data analyst
A boxplot, or box-and-whisker plot, graphically summarizes a numeric distribution using quartiles, a median, whiskers, and possible outliers.
- How it is used
- Summarizes numeric distributions and compares them across categories such as cities, months, and states.
- How deep it goes
- Defines box components and pandas outlier thresholds, then demonstrates pandas and Seaborn plotting without deriving quartile calculations.
- Examples
- Uses small numeric Series, winter temperatures in three cities, taxi total amounts by month, and earnings by state.
- What you can do after
- Apply it via pandas or Seaborn to inspect distributions, identify plotted outliers, and compare numeric values across groups.
Read how Pandas Workout: 200 exercises to make you a stronger data analyst explains box plot →
Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI
A graphical summary of a numeric distribution using quartiles, a median, and potential outliers.
- How it is used
- Uses distribution plots to inspect numeric data quality and compare features during exploratory data analysis.
- How deep it goes
- Explains quartiles, median, whiskers, IQR boundaries, outliers, and standardization, but does not develop statistical derivations.
- Examples
- Uses standardized Auto MPG features including mpg, displacement, horsepower, weight, and acceleration.
- What you can do after
- Diagnose potential collection or aggregation errors by spotting unusual distributions and outlying observations.
Read how Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI explains box plot →
D3.js in Action, Third Edition
A box plot is a statistical chart that summarizes a distribution using a box between the first and third quartiles, a median line, and whiskers extending toward the minimum and maximum values.
- How it is used
- Uses a compact chart to compare distributions while exposing quartiles and medians more directly than histograms.
- How deep it goes
- Explains statistical components and D3 construction through scales, SVG attributes, rectangles, median lines, and whiskers.
- Examples
- Uses United States data-visualization salaries, gender comparisons, overlaid salary circles, and configurable SVG box dimensions.
- What you can do after
- Build it from scratch in D3 by calculating distribution statistics and drawing their positions with SVG elements.
Starting Data Analytics with Generative AI and Python
A box plot is a statistical chart that summarizes a numerical distribution using quartiles, a median, and potential extremes.
- How it is used
- Uses distribution visualization to detect data-quality problems, unusual values, and patterns before selecting analytical methods.
- How deep it goes
- Shows a practical plotting workflow and interpretation of outliers, but defers formal distribution tests and deeper statistical theory.
- Examples
- Uses review-answer response times, descriptive statistics, timestamp differences, histograms, and horizontal box plots.
- What you can do after
- Apply it via matplotlib to inspect numerical distributions and investigate potential outliers or trends.
Read how Starting Data Analytics with Generative AI and Python explains box plot →
Advanced Algorithms and Data Structures
A boxplot is a statistical visualization that summarizes a distribution using quartiles, a median, and selected extreme-value markers.
- How it is used
- Uses distribution summaries to compare recorded running times across methods and branching factors.
- How deep it goes
- Defines quartiles, median, box, whiskers, and outliers, but does not develop their statistical computation.
- Examples
- Compares Huffman encoding running-time distributions for methods and heap branching factors.
- What you can do after
- Evaluate distribution spread and central tendency when comparing measured algorithm running times.
Read how Advanced Algorithms and Data Structures explains box plot →
Also covered in
What to know first
- interquartile rangeThe interquartile range is the difference between the third and first quartiles of a distribution, measuring the spread of its middle half.
- meanThe mean is a measure of central location equal to the arithmetic average of numerical observations, or the probability-weighted average of a random variable’s possible values.
- standard deviationStandard deviation is the nonnegative square root of variance and measures the dispersion of values around their mean in the same units as those values.
- varianceVariance is the expected squared deviation of a random variable from its mean and measures the dispersion of its values.
Related concepts
- minimum valueuses · A minimum value is the least value in a set or collection according to the applicable comparison rules.
- histogramcontrasts with · A histogram is a representation that groups observations into bins and records their frequencies or other aggregate values.
- anomalyuses · An anomaly is an observation, data state, or behavior that substantially deviates from an expected or prevailing pattern or condition.
- violin plotcontrasts with · A violin plot is a statistical visualization that represents a numeric distribution with a mirrored density shape, often alongside summary statistics.
- Rectanglehas part · A rectangle is a planar quadrilateral with four right angles and opposite sides of equal length.
Questions about box plot
What is box plot?
A box plot is a statistical graphic that summarizes a numerical distribution using quartiles, a median, and whiskers or markers indicating spread and potential outliers.
Which Manning books explain box plot?
Statistics Slam Dunk, Pandas Workout: 200 exercises to make you a stronger data analyst, Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI, D3.js in Action, Third Edition, Starting Data Analytics with Generative AI and Python and Advanced Algorithms and Data Structures.
What should I know before learning box plot?
Manning books that teach box plot usually introduce interquartile range, mean, standard deviation and variance first.
What is the difference between box plot and histogram?
A box plot is a statistical graphic that summarizes a numerical distribution using quartiles, a median, and whiskers or markers indicating spread and potential outliers. A histogram is a representation that groups observations into bins and records their frequencies or other aggregate values.
What are the parts of box plot?
Box plot includes Rectangle.
What is box plot also called?
Box plot is also called boxplot or box-and-whisker plot.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.





