d3-nelson-rules
v0.3.1
Published
d3 utility to apply nelsons rules of process control to a set of data
Downloads
5
Readme
d3-nelson-rules
d3 utility to apply nelsons rules of process control to a set of data.
Installing
If you use NPM, npm install d3-nelson-rules
. Otherwise, download the latest release.
API Reference
var data = [{
name: 'foo',
val: 3
} ...];
var nelson = d3.d3_nelson_rules()
.std(5)
.mean(1)
.value(function(d) { return d.val; });
svg.selectAll('rect')
.data(data)
.enter()
...
.call(nelson);
License
MIT