MCPcopy Create free account
hub / github.com/d3/d3-shape / k

Function k

test/stack-test.js:37–37  ·  view source on GitHub ↗
(data, a, b)

Source from the content-addressed store, hash-verified

35 let A;
36 let B;
37 let k = function(data, a, b) { A = a, B = b; return Object.keys(data[0]); };
38 let s = stack().keys(k);
39 let data = [[1, 3, 5, 1], [2, 4, 2, 3], [1, 2, 4, 2]];
40 assert.deepStrictEqual(s(data, "foo", "bar"), [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected