Plot values on x-axis

We would get a better chance to help if you could provide a minimal reproducible example, including some data and the code you've run so far, as described here: FAQ: How to do a minimal reproducible example ( reprex ) for beginners

From the looks of it you might just want to use geom_point() rather than geom_line(), but hard to tell from what you shared.