DistPlot Examples

This page demonstrates distribution visualization combining histogram, box plot, and rug plot.

Use sliders and multi-select controls to filter and explore the data!




Simple Distribution Plot

Basic distribution showing histogram, box plot, and rug plot for a normal distribution

Plot Attributes

30

Data: df1




Treatment Effect Comparison

Compare distributions across different treatment groups using group_cols

30

Data: df2




Score Distribution with Interactive Filters

Use age range slider and department multi-select to filter data dynamically

Filters

18.0 to 80.0

Hold Ctrl/Cmd to select multiple values

40

Data: df3




Multi-Variable Distribution with Dropdowns

Select different variables and grouping columns using the dropdowns above. This example demonstrates the full flexibility of the DistPlot.

Plot Attributes

30

Data: df4




Customized DistPlot - Longitudinal Study

Demonstrates customization options: rug plot hidden, increased box opacity, custom bin count

30

Data: df5




Key Features Summary

Tip: The rug plot (tick marks at the bottom) shows individual data points!


This page was created using JSPlots.jl.