Molecule 2D

Enter ChemSpider ID and click Load button:
Code example how to display molecule image...
        $("#molecule2d").molecule2d({
            width: 200,
            height: 200,
            csid: 2157
        });
    
... and change it dynamically later
        $('#molecule2d').molecule2d("setCSID", 10368587);