sharepoint online – How to View Visio Thumbnail using getpreview.ashx?

Is there any way to preview the visio document in Sharepoint Online.

I have tried using the below url

https://{tenant}.sharepoint.com/_layouts/15/getpreview.ashx?path={pathToTheDocument}

but can’t view the preview of visio. Is there any way to preview the visio in SharePoint online?

Any help would be appreciated. Thanks in advance!