D3-graph-gallery icon indicating copy to clipboard operation
D3-graph-gallery copied to clipboard

scatter plot dot size misleading

Open mkborregaard opened this issue 4 months ago • 1 comments

Thanks for an awesome resource, which I use for teaching a BSc level R course.

In this example: https://r-graph-gallery.com/5-correlation-of-discrete-variables.html the first plot illustrates magnitude of a number by multiplying it by cex. However, the cex parameter appears to control the radius of the circle, meaning that the area will be proportional with the number ^2. I'd argue this misrepresents the actual magnitudes.

mkborregaard avatar Feb 20 '24 22:02 mkborregaard

I think this is the wrong repo, the R graph gallery is here: https://github.com/holtzy/R-graph-gallery

yangdanny97 avatar Feb 26 '24 03:02 yangdanny97