Sometimes the latest visitors stats is not showing in the cpanel, to resolve the issue, you can use the following steps.
Try to change WHM \ Tweak Security \ “Delete each domain’s access logs after stats run” from ON to OFF.
It’s possible the the latest visitors cache is corrupted for this account. Try using the following command to move the existing cache out of the way so it can be regenerated:
# mv /home/username/.cpanel/nvdata/latest_visitors /home/username/.cpanel/nvdata/latest_visitors_old
Replace “username” with the username of the account.