block by GerHobbelt 3605124

d3.js [vanilla/mbostock]: axes examples - reduced

Full Screen

D3.js Axes ……

The same examples as in this gist, but now tweaked to provide the subticks where possible when using d3.js v2.10.0; this means that any functions passed in as arguments to provide a flexible subtick count, size, or otherwise, are reduced to explicit numbers as v2.10.0 vanilla D3 doesn’t support functions as parameters to d3.axis methods.

index.html