MCPcopy Create free account
hub / github.com/idank/explainshell / d3_scale_linearRebind

Function d3_scale_linearRebind

explainshell/web/static/js/d3.v3.js:6452–6454  ·  view source on GitHub ↗
(scale, linear)

Source from the content-addressed store, hash-verified

6450 return rescale();
6451 }
6452 function d3_scale_linearRebind(scale, linear) {
6453 return d3.rebind(scale, linear, "range", "rangeRound", "interpolate", "clamp");
6454 }
6455 function d3_scale_linearNice(dx) {
6456 dx = Math.pow(10, Math.round(Math.log(dx) / Math.LN10) - 1);
6457 return dx && {

Callers 2

d3_scale_logFunction · 0.85
d3_scale_powFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected