geom_point() only displaying one point at (0,0)

I used a summary function to confirm that my data had numeric values. But, even my super simple geom_point call won't work for some reason, and just shows a singular, centered point at (0,0).

ggplot(merged_growth_eff) +
geom_point(aes(x="expense_rank",y="growth_rank"))

Don't use quotes inside aes:

ggplot(merged_growth_eff) +
 geom_point(aes(x=expense_rank,y=growth_rank))
3 Likes

Ah duh, didn't catch that. Thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.