I am using three.js to visualise accelerometer data on a 3D cube.
My accelerometer collects data where X-axis refers to when the object is moving UP and Down, and Z-axis