Swarm Plot Calculator

Build collision-aware swarm plots, compare categories, inspect distributions, apply transformations, calculate statistics, and export clear machine learning graphs from your browser instantly with ease.

1. Data Input

Enter a header row followed by categorical and numeric observations.

Supported separators include commas, tabs, semicolons, and pipes.

2. Column Mapping

3. Plot Configuration

4. Marker Styling

5. Statistical Overlays

6. Filtering and Transformation

7. Generate Plot

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 deviation

How to Use

  1. Paste data or upload a delimited file.
  2. Enter the category, value, group, and label headers.
  3. Choose layout, marker, overlay, filter, and transformation settings.
  4. Select Generate Swarm Plot to calculate and draw results.
  5. Inspect tooltips, selections, statistics, warnings, and exports.

Example Data

CategoryValueGroupLabel
Model A0.91ValidationRun 1
Model A0.87TestRun 2
Model B0.94ValidationRun 1
Model B0.90TestRun 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.

Related Calculators

HistogramDensity Plot (KDE)Box PlotViolin PlotBar ChartCount PlotPie ChartDot PlotStrip PlotECDF Plot

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.