DistributionSample
Density plot
A smoothed histogram: a continuous curve showing where values concentrate.
Where basket sizes concentrate for returning customers.
Sample data
Use it when
- Comparing the shape of a few overlapping distributions
- Large samples where bin edges would distract
Avoid it when
- Readers need counts, not relative density: use a histogram
Display modes
- Default
- Where basket sizes concentrate for returning customers.
- Comparative
- Overlays new, returning and loyal customers to compare their shapes.
- Annotated
- Marks mean and median to show the skew in the curve.
More in Distribution
Histogram
Counts how many observations fall into each range of values, revealing the shape of a distribution.
Box plot
Summarises each group with median, quartiles, whiskers and outliers, so many distributions compare in little space.
Violin plot
Mirrors a smoothed distribution around a centre line, showing the full shape of each group.