d3noob
This is a demonstration of the use of the html 'number' input to rotate a text element using d3.js v4.
This graph is part of the code samples for the update to the book D3 Tips and Tricks to version 4 of d3.js.
https://d3js.org/d3.v4.min.js