6.2.10
Show individual observations with a rug plot
Adding rugplot on top of a histogram or KDE highlights where each observation lies, making the distribution easier to read.
| |

Reading tips #
- Dense clusters of short rug marks indicate many observations in that range.
- Use a light color so the rug does not dominate the KDE.
- On very large data sets, rug plots can be expensive to draw; consider sampling or reducing the
height.
- Histogram — Show frequency distribution with bins
- Swarm Plot — Arrange individual data points without overlap
- Density Plot — Visualize distribution with a smooth curve