Rotating the scenes is fairly awkward. You might want to consider adding X3DOM's turntable navigation:
scene.append("navigationinfo").attr("type", "turntable");
Unfortunately this doesn't play well with your axis setup and initial viewpoint.
Hi, thanks for sharing this really neat library. Does giving color here to create_indexedLineSet actually do anything? I want to change the line color but it seems not.
That's correct, color is not currently implemented for indexedLineSet. I believe that X3Dom (on which PlotX3D is built) does provide a way to color an indexedLineSet but that I didn't implement it.