All the data from your phone is erased after the factory data. Moreover, the data that you have stored in your Google account is safe. All apps and data will be uninstalled after the factory reset.