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

Function domain

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

Source from the content-addressed store, hash-verified

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

Callers 1

histogramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected