If you can unplug your D drive or disable it in the BIOS, that would be the easiest way to prevent accidentally deleting anything from it.
Alternatively, you can also unmount the D drive before installation.
Then choose the automatic installation on your desired C drive. In Linux the names for the drives are not C or D but sda and sdb or nvme0n1 and nvme0n2