In this lesson Ben shows you the basics of dynamically scaling your charts in D3. Scaling is a deep concept, so this is the first video in a series that will cover this topic.
Just an FYI in D3 4.2 and up, you will have to replace "d3.scale.linear()" with "d3.scaleLinear()"
Thanks was confused as to why my scale was breaking.
thank you for that.
d3.scale.linear() has been changed to