Here is a demonstration of integrating d3 and x3dom to create a 3d bar plot of dynamic data. This example demonstrates the power of the d3 approach -- using x3dom for 3d visualization is just as concise and conceptually simple as using svg for 2d graphics.
Use your mouse to change the viewing angle, pan, and zoom.
Figuring out the correct viewport position and orientation was challenging and involved a lot of matrix math. See the wikipedia page for rotation matrices for hints.
- Live demo of this file: http://bl.ocks.org/camio/5087116
- X3D Reference: http://www.web3d.org/files/specifications/19775-1/V3.3/index.html
- x3dom site: http://www.x3dom.org/
David Sankel & Harry Voorhees Stellar Science