tidyverse / tidyverse/ggplot2

Density-based jitter

Open
#6,845 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
7k
Forks
2.1k
Avg merge
59m
Merged PRs (30d)
2

Description

It would be nice if we could jitter the points, where the jitter amount is proportional to the density. This would allow jittered points to better match violins and show distributions better. The proposal is not to go all-out beeswarm but do better than the current uniform jitter.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is identified in the issue. Start by locating the current uniform jitter behavior in ggplot2 and reviewing how violin densities are computed; define how density-proportional jitter should behave and verify that the resulting point distributions better match violins without becoming a full beeswarm.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.