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

Function d3_layout_stackOffsetZero

explainshell/web/static/js/d3.v3.js:5705–5709  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

5703 return d3.range(data.length);
5704 }
5705 function d3_layout_stackOffsetZero(data) {
5706 var j = -1, m = data[0].length, y0 = [];
5707 while (++j < m) y0[j] = 0;
5708 return y0;
5709 }
5710 function d3_layout_stackMaxIndex(array) {
5711 var i = 1, j = 0, v = array[0][1], k, n = array.length;
5712 for (;i < n; ++i) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected