Recently I created a guide that I would like to share with you that demonstrates how the JavaScript API in Visio Services can be used to build custom dashboards on your SharePoint 2010 sites.
This guide contains a document that explains the JavaScript API functionality and the VWA web part, as well as the JavaScript source code for the described scenario.
Click here to download the ZIP package.