D3: .axisBottom, .scaleLinear: Axis Bottom

Forked script below was converted from D3.js v3 to v4.

nick3499
1 min readFeb 27, 2017
note: zero will actually display as clipped

d3.scaleLinear() and d3.axisBottom() are v4 functions. .attrs() can be used with d3-selection-multi.v1.min.js.

v4 script above. Original v3 script below.

D3 v3 vs. D3 v4

D3 3.5.17 seems to have a similar existence as Python 2.7.16, maintained to avoid alienating users.

--

--

nick3499
nick3499

Written by nick3499

coder of JavaScript and Python

No responses yet