For reference, I have taken sample code from Mike Bostock's Line Chart Example. At all places I have commented original code and replaced it with new code to convert given example with Floating Scale.
Modified http://d3js.org/d3.v3.min.js to a secure url
Updated missing url https://darshit-shah.github.io/d3.floatingScale.js to https://darshit-shah.github.io/d3.floatingscale.js
https://d3js.org/d3.v3.min.js
https://darshit-shah.github.io/d3.floatingScale.js