D3: .axisLeft, .scaleLinear: Axis Left
.scaleLinear()
andd3.axisLeft()
are v4 functions which require thed3.v4.min.js
library..attrs({})
is a v4 setter containing multiple attribute tuples, e.g..attrs({width: width, height: height})
.axisNodes.selectAll()
calls are ignored by v4, so they were removed.
Adapted script above is based on v4, while the original script below is based on v3.
D3.js 3.5.17 seems to have a similar existence to Python 2.7.13. Maintained to avoid alienating current users.