Terraria's saved data is located in 'my documents/my games' (the same is usually true for other Steam Games), if the PC is uninstalled, it might've wiped out the my games folder.
Unfortunately, I can't do anything to get deleted data back. These are things to consider back-upping first before doing major changes to your PC.