ρ=RTPM
Density ρ remains constant when P/T or volume remains constant. In graph (i) volume is decreasing, hence density is increasing; while in graphs (ii) and (iii) volume is increasing, hence, density is decreasing.
The volume would have been constant in case the straight line in graph (iii) had passed through origin.