Please, check whether the reference to the editor.html in the src attribute of the iframe is correct.
Sketch requires HTML5 canvas. Please, check whether your browser support HTML5 canvas. It is not available in old browsers like IE8.
Probably you have opened the example directly from the file system. Please, note that Marvin4JS is a web component, it works only via web server.
When you attempt to open any bundled example from the local filesystem, the code examples can not run properly since the browser may block any attempt to call an external JavaScript code (e.g. reference to the Marvin4JS API). In most browsers, it is the default security policy when resources are loaded from the local storage, see Same-origin policy for file: URIs.
Please, note that 2D coordinate calculation is performed at server side. Marvin4JS posts the structure to the Clean2D web service that generates the new coordinates and sends it back to the editor in an MRV. The clean 2D operation can fail if
Please, check that web service is available and it is installed properly, see the installation guide of Marvin4JS. If it is necessary, consult with the system administrator of the server that hosts the web services.