label_dollar() from the scales package formats numeric plot labels as US currency by adding a dollar-sign prefix. Used with ggplot2 continuous scales, it makes payroll axes easier to read. section 10.4.2
Format NBA payroll axes
Pass label_dollar() to scale_x_continuous() or scale_y_continuous(). Combining it with cut_short_scale() turns 20000000 into a compact label such as $20M; rotating axis labels can improve fit. section 10.4.2 section 10.4.3
