Ok I don't understand well what you mentioned before...
You have formatted you drive C with a new installation and then you see that D also was formatted. Is that what you say?
If yes then this may be an error that you click on and format the partition D as normally it should only format the one you have chosen.