The functional behavior of the dimensionless friction factor,
, is displayed fully in the Moody diagram, which is valid for both compressible and incompressible fluids.
From L.F. Moody, "Friction factors for Pipe Flow", Trans. A.S.M.E., Vol 66, 1944