block by vkuchinov a8248a3487da0d7c7f6e002845d00038

D3.JS / THREE.JS : A hybrid 3D scatter plot MkI

Full Screen

A very rough example of using THREE.JS math and TrackBallControls to make 3D scatter plot out of D3.JS. Doesn’t have the renderer.domElement, everything is rendered as SVG. DragControls was heavily modified to stack with D3.JS.

TrackBallControls could be replaced by OrbitControls, as well as PerspectiveCamera by Orthographic one. Don’t forget to replace renderer.domElement with document

controls = new THREE.OrbitControls( camera, document );

index.html

DragControls4D3.js

TrackballControls.js

data.csv

main.js

styles.css