Open the Microsoft Visio chart in the Visio webapp (for example, by opening the file via Microsoft 365). Click the Option button in the upper right corner, then click “Embed”.
A popup window will show up. Copy the “Embed URL”.