I need some help to combine this chart[1] with three.js:
What I want to change is make it 3d as in
add a grid so it is easier to see the xy plane
// Add grid helper
var gridHelper = new THREE.GridHelper( 90, 9 );
gridHelper.colorGrid = 0xE8E8E8;
scene.add(gridHelper);
every black filled circle I want it to be a rotating cube.
//2nd one
var geometry = new THREE.BoxGeometry( 1, 1, 1 );
var material = new THREE.MeshBasicMaterial( { color: "red" } );
var cube2 = new THREE.Mesh( geometry, material );
cube2.rotation.x += 0.01;
cube2.rotation.y -= 0.01;
the cubes can be put all on the same elevation height.
Add these orbit controls.
[1]