What is the logic behind jitters command(geom_jitter( ) ) in R?


I’m doing the Exploratory Data Analysis course in Udacity®. In lesson 4 there’s a chapter on “Alpha and jitters”, where the tutor explains that the command geom_jitter adds noise to the data. What does that mean? What is the logic behind how the noise is added?
Sample code:
ggplot(aes(x = age, y = friend_count), data = fb) +
geom_jitter(alpha = 1/20)+




Hi there,

yes, it does adds a random number . The the data plotted in inaccurate but it greatly helps in the visualization.

The same thread in on stackoverflow. Go through it for more details.