Recovering data from the HD of a dead Mac
My 2011 21.5 iMac has died and I've bought a replacement but would like to recover the data on the old Mac's HD. I dismantled and removed the WD HD and bought a suitable cable but it won't run outside the computer when plugged in to my new Mac. I've reassembled it and it does start and run and the fan is running but there's nowt on the screen. Can I transfer data via firewire or thunderbolt? I've neither cable at the moment and don't really want to buy one unless I can transfer data.
iMac 21.5″, macOS 10.13