{
  "name": "Comparison of Categorical Point Dispersion Methods in R",
  "description": "An original comparative benchmark of categorical point-dispersion methods and geometries in R, compiled from official CRAN reference manuals and documentation for ggbeeswarm, vipor, beeswarm, ggplot2, and base R graphics.",
  "page": "https://casrai.org/guides/ggbeeswarm",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-16T22:06:00Z",
  "temporalCoverage": "2021/2026",
  "spatialCoverage": "Global",
  "columns": [
    {
      "name": "Method / Geometry",
      "unit": "",
      "description": "Specific R function and layout method name"
    },
    {
      "name": "Source Package",
      "unit": "",
      "description": "Primary R package providing the implementation"
    },
    {
      "name": "Dispersion Mechanism",
      "unit": "",
      "description": "Mathematical algorithm used to offset points"
    },
    {
      "name": "Guarantees Zero Overlap",
      "unit": "",
      "description": "Whether points are strictly prevented from colliding"
    },
    {
      "name": "Measurement Axis Preserved",
      "unit": "",
      "description": "Whether coordinates on the continuous data axis remain unshifted"
    },
    {
      "name": "Typical Cohort Capacity",
      "unit": "observations",
      "description": "Recommended maximum sample size per group for optimal rendering"
    }
  ],
  "rows": [
    {
      "Method / Geometry": "geom_beeswarm (swarm)",
      "Source Package": "ggbeeswarm",
      "Dispersion Mechanism": "Sequential minimum displacement collision packing",
      "Guarantees Zero Overlap": "Yes",
      "Measurement Axis Preserved": "Yes",
      "Typical Cohort Capacity": 300
    },
    {
      "Method / Geometry": "geom_beeswarm (compactswarm)",
      "Source Package": "ggbeeswarm",
      "Dispersion Mechanism": "Greedy centroid-adjacent packing",
      "Guarantees Zero Overlap": "Yes",
      "Measurement Axis Preserved": "Yes",
      "Typical Cohort Capacity": 500
    },
    {
      "Method / Geometry": "geom_beeswarm (square/hex)",
      "Source Package": "ggbeeswarm",
      "Dispersion Mechanism": "Discretized regular lattice packing",
      "Guarantees Zero Overlap": "Yes",
      "Measurement Axis Preserved": "No (unless preserve.data.axis=TRUE)",
      "Typical Cohort Capacity": 400
    },
    {
      "Method / Geometry": "geom_quasirandom (quasirandom)",
      "Source Package": "ggbeeswarm / vipor",
      "Dispersion Mechanism": "Van der Corput low-discrepancy sequence",
      "Guarantees Zero Overlap": "No",
      "Measurement Axis Preserved": "Yes",
      "Typical Cohort Capacity": 5000
    },
    {
      "Method / Geometry": "geom_quasirandom (tukey)",
      "Source Package": "ggbeeswarm / vipor",
      "Dispersion Mechanism": "Tukey regular density texturing",
      "Guarantees Zero Overlap": "No",
      "Measurement Axis Preserved": "Yes",
      "Typical Cohort Capacity": 3000
    },
    {
      "Method / Geometry": "geom_jitter",
      "Source Package": "ggplot2",
      "Dispersion Mechanism": "Uniform pseudorandom noise perturbation",
      "Guarantees Zero Overlap": "No",
      "Measurement Axis Preserved": "No",
      "Typical Cohort Capacity": 2000
    },
    {
      "Method / Geometry": "stripchart (stack)",
      "Source Package": "graphics (Base R)",
      "Dispersion Mechanism": "Discrete 1D point stacking bins",
      "Guarantees Zero Overlap": "Yes",
      "Measurement Axis Preserved": "Yes",
      "Typical Cohort Capacity": 150
    }
  ],
  "sources": [
    {
      "title": "ggbeeswarm CRAN Reference Manual",
      "url": "https://cran.r-project.org/web/packages/ggbeeswarm/refman/ggbeeswarm.html",
      "accessed": "2026-11-14"
    },
    {
      "title": "vipor CRAN Reference Manual",
      "url": "https://cran.r-project.org/web/packages/vipor/index.html",
      "accessed": "2026-11-14"
    },
    {
      "title": "beeswarm CRAN Package Index",
      "url": "https://cran.r-project.org/web/packages/beeswarm/index.html",
      "accessed": "2026-11-14"
    },
    {
      "title": "ggplot2 geom_jitter Documentation",
      "url": "https://ggplot2.tidyverse.org/reference/geom_jitter.html",
      "accessed": "2026-11-14"
    },
    {
      "title": "Base R stripchart Documentation",
      "url": "https://stat.ethz.ch/R-manual/R-devel/library/graphics/html/stripchart.html",
      "accessed": "2026-11-14"
    }
  ]
}