block by d3noob 83ed14ab741eed0ad97ef2615eaab7c5

Rotating text using a range input in v5

Full Screen

This is a demonstration of the use of the html ‘range’ input to rotate a text element using d3.js v5.

This graph is part of the code samples for the update to the book D3 Tips and Tricks to version 5 of d3.js.

index.html