HD does not show up when attempting to reinstall OS X (El Capitan)
This happened to me too. It means your hard drive is unpartitioned. Go to Disk Utility and add a partition to the hard drive which you just formatted. You can use MacOS Journal File System while doing so. Once this is done, you will see the hard drive in the UI that asks you to choose where to install the OS when restoring the MacOS.