While Microsoft doesn't have a desktop version of Visio for macOS, you can still work on Visio files on a Mac in your web browser.
Visio for the web lets you view, create, and edit diagrams in the Safari or Chrome browser on your Mac.
There's nothing to install. You just need a Visio Plan 1 subscription, which you can get on a monthly or annual basis. The subscription comes with 2 GB of free OneDrive storage, which allows you to store your files on the web and access them from almost anywhere.
With Visio for the web, you can create and edit block diagrams, flowcharts and cross-functional flowcharts, UML diagrams, SDL diagrams, Azure diagrams, network diagrams, Venn diagrams, and more. You can also view other types of diagrams that can't be created in Visio for the web.