how to recover data from local disk D

I have formated local disk C with bootable usb but windows can't be install in local disk C GPT drive so is it possible to recover data of local disk D. the data in D is very importain for me.