I am unable to transform rotate the needle using slider. Needle at the center at “rotate(90 129.24 148.63)” right “rotate(180 129.24 148.63)” and left at rotate(0 129.24 148.63) gauge_needle.style.transform=rotate(${this.value} 129.24 148.63)`;
Ignoring the fact that I know nothing about svg and almost as little about js it seems to me that you should be modifying the transform attribute (which is not a style attribute).