Visualizing Distributions
Nisha has a full year of daily cold-coffee sales now: 365 numbers. Mean, median and standard deviation squeeze them into three figures, but they cannot tell her whether there are two kinds of day, where the busy days cluster, or how many fair days there were. A picture of the distribution can, in seconds.
The rule
Histogram for the shape, box plot for the summary and the stragglers.
A histogram splits the number line into equal bins and draws a bar for how many values fall in each.
- It shows the shape at a glance: symmetric or skewed, one hump or two, gaps and isolated bars.
- Bin width matters. Too wide and the shape vanishes into two or three blocks; too narrow and it becomes noisy. Try a few widths.
- It is not a bar chart of categories: the bars touch, because the x-axis is a continuous scale.
A box plot (box-and-whisker plot) draws the five-number summary:
- The box runs from Q1 to Q3, holding the middle half of the data. A line inside marks the median.
- The whiskers reach out to the most extreme values still inside the 1.5 × IQR fences.
- Anything beyond the fences is drawn as a separate dot: a flagged outlier.
For the week: box from 38 to 46, median line at 40, whiskers from 36 to 46, and one dot at 95. Because box plots are compact, several fit side by side, which makes them ideal for comparing groups such as weekdays against weekends or branch 1 against branch 2.
Two other useful views: a dot plot, one dot per value, is best for small datasets like a single week; a density curve is a smoothed histogram, handy for overlaying two groups.