Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Beewarm or Swarm Plot

    Hello!

    Just wondering, has anyone ever done a beeswarm plot in Stata? Someone that might have programmed it natively.

    I tried looking around but could not find any such example or program. There was a "2020 e-London Stata user group meeting" on September 11, 2020 where Philippe Van Kerm demonstrated this but it seems like it was never released.

  • #2
    I don't see swarm or beeswarm plots as being fundamentally different from plots producible by dotplot (official command) or stripplot (SSC). In all such designs there can be a small tension if data points similar or even identical in value would otherwise overplot or occlude each other. Solutions include binning, stacking, and jittering.

    The existence of different names for similar designs is as usual not especially helpful. The help for stripplot documents many names used in this territory, all the way from different names for the same idea to the same name for different ideas.

    The challenge is for you to show some data and say precisely why (bee)swarm plots seem attractive and what you're missing in existing commands.

    Comment

    Working...
    X