D is the correct answer. The reason for why the independent variable goes on the x axis is unknown — it is just a matter of convention to follow it today, to make your results easily understandable and comparable with other results the scientific community presents.