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

Function roundSeries

test/stack-test.js:120–126  ·  view source on GitHub ↗
(series)

Source from the content-addressed store, hash-verified

118}
119
120function roundSeries(series) {
121 return series.map(function(point) {
122 return point.map(function(value) {
123 return Math.round(value * 1e6) / 1e6;
124 });
125 });
126}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected