Scale ggplot2 Y-Axis to millions (M) or thousands (K) in R
In this blog post we’ll tackle an aesthetic aspect in R & ggplot2 — namely, displaying your the labels on your axis as millions or thousands. Assume, you have a data set with a column that has numbers ranging into the millions. To emulate this, I loaded the mtcars dataset…