MCPcopy Create free account
hub / github.com/d3/d3-array / domain

Function domain

test/bin-test.js:85–85  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

83 let actual;
84 const values = [1, 2, 2, 10, 18, 18];
85 const domain = (values) => { actual = values; return [0, 20]; };
86 const h = bin().domain(domain);
87 assert.strictEqual(h.domain(), domain);
88 assert.deepStrictEqual(h(values), [

Callers 1

histogramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…