'First time plotting anything in R- unexpected results [duplicate]

all! New here. Much more comfortable with SQL but working on an R project. I created a point graph that didn't come out as expected. Here is the code that I entered And the result

I guess I was expecting a straight line through? I'm very new to this so bare with me.

I know this is a broad question but any tips/ resources to help me with data visualization using R? Thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source