Why does the scale of my graph change when I save my plot as an svg?

It is probably a matter of fiddling with .svg co-ordinates but I think we need a see your code and some sample data.

How to do a minimal reproducible example reprex.