You need to have the appropriate data for that substance: the density (ρ) or specific volume (V) at different temperatures and pressures. Then simply enter this data into a program capable of 3D graphing (Excel does not have this capability - it only can give 3D appearance). Temperature on one axis, pressure on the second and specific volume or density (ρ = 1/V) on the third.
__________________
"Reason is not automatic. Those who deny it cannot be conquered by it. Do not count on them. Leave them alone." - Ayn Rand