I was trying to get and update the position of vive controller in aframe for a project.
i've tried it using d3.js
var hand = d3.select('.con_left');
var pos = hand.getAttribute('position');
console.log(pos);
but it shows the error
Uncaught TypeError: hand.getAttribute is not a function