Visio files must be viewed through Visio for the web where you can create and edit many types of diagrams. Some diagrams created from Visio desktop templates can be viewed and edited, but not all of them.
File types .vsd, .vsdm, vsdx, and .vdw are supported, other extensions are not supported at this time.
Read more at Limitations to file editing in Visio for the web.