As well as the Pubchem site for small molecules there are the protein database sites, such as the RSBC site, that have structural data for proteins and other macromolecules. I made a parser for the PDB files that these sites provide. There is a WebGL version and a Flash version of a DNA molecule below.
Using the Three.Js library.
Using the Adobe Proscenium library.