Measurement of the order parameter and its spatial fluctuations across Bose-Einstein condensation