Uninstalling Viber means you simply remove it from your phone while the backup, contact list, and any sticker pack will remain on the Viber server.
In contrast, if you deactivate your Viber account then it means you are removing all information from the Viber server. After deactivation, your all data will be removed from the main Viber host.
There will be no list of contacts present and no previous history. It also deletes any information the Viber obtain from social media like Facebook.
In the case of both deactivation and uninstallation, your message and photos will remain on the cloud or google drive. If you activate your account, you can restore especially if you use the same email address.