Plot truncates on x-axis - advice to avoid this

I suspect the issue will be addressed by changing the settings in scale_x_continuous.

From the documentation,
https://forum.posit.co/t/read-table-with-no-header/11459/21

limits: A numeric vector of length two providing limits of the scale. Use NA to refer to the existing minimum or maximum.

expand: Vector of range expansion constants used to add some padding around the data, to ensure that they are placed some distance away from the axes. Use the convenience function expand_scale() to generate the values for the expand argument. The defaults are to expand the scale by 5% on each side for continuous variables, and by 0.6 units on each side for discrete variables.|

So you might first just remove the limits and expand in scale_x_continuous and see if that delivers the plot you were hoping for. You can also add padding by increasing the values in expand.

For additional help, a reprex is really the way to go.


Since this is off-topic from Read.table with no header - #21, where it was originally posted, I took the liberty of converting your reply-post into a new topic thread, as rensa suggested