D3-graph-gallery
D3-graph-gallery copied to clipboard
scatter plot dot size misleading
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.
I think this is the wrong repo, the R graph gallery is here: https://github.com/holtzy/R-graph-gallery