Tweeted By @_Kcnarf
I want to share a golden trick on #d3js scaleLinear().
— Franck Lebeau (@_Kcnarf) July 19, 2018
Standard use case sets the domain and range both with 2 values (start and stop mapping).
But one can set these props with EXTRA VALUES in order to set INTERMEDIATE MAPPINGS ! 👍
This is even documented ... but skipped it pic.twitter.com/mOGlr7scUA