Formula Used
A swarm plot preserves each observation while shifting markers along the categorical axis. The shifts reduce overlap without changing measured values. Group statistics describe every visible distribution.
Mean = Σx / n Sample variance = Σ(x − x̄)² / (n − 1) Standard deviation = √variance Standard error = standard deviation / √n 95% confidence interval = mean ± 1.96 × standard error IQR = Q3 − Q1 Outlier limits = Q1 − 1.5 × IQR and Q3 + 1.5 × IQR Min-max value = (x − minimum) / (maximum − minimum) Z-score = (x − mean) / standard deviationHow to Use
- Paste data or upload a delimited file.
- Enter the category, value, group, and label headers.
- Choose layout, marker, overlay, filter, and transformation settings.
- Select Generate Swarm Plot to calculate and draw results.
- Inspect tooltips, selections, statistics, warnings, and exports.
Example Data
| Category | Value | Group | Label |
|---|---|---|---|
| Model A | 0.91 | Validation | Run 1 |
| Model A | 0.87 | Test | Run 2 |
| Model B | 0.94 | Validation | Run 1 |
| Model B | 0.90 | Test | Run 2 |
Frequently Asked Questions
What does a swarm plot show?
It shows every numeric observation beside its category. Point displacement prevents markers from hiding each other.
How is it different from a strip plot?
A strip plot usually applies random jitter. A swarm plot attempts structured collision avoidance.
Can I compare model results?
Yes. Use models as categories and experiments or datasets as groups.
How are outliers detected?
The calculator uses category-specific interquartile limits. Values beyond 1.5 IQR are flagged.
Can I use logarithmic values?
Yes. Choose a logarithmic axis or apply a natural-log transformation.
What happens to invalid rows?
Rows with invalid numeric values are skipped. The result area reports excluded rows.
Can groups use different colours?
Yes. The optional group column creates separate colour-coded traces and legends.
Can the category order change?
Yes. Sort by name, mean, median, minimum, maximum, or input order.
Which exports are available?
You can export PNG, SVG, PDF, cleaned CSV, statistics CSV, and copied text.