at the beginning of the tutorial when zooming on the last key frames the curve is quite wavy however when i do it there is no curve as it should be, as we didnt change the x location only adding few frames
That's because your last 3 keyframes are the same value.