53seven / d3-nelson-rules

d3 utility to apply nelsons rules of process control to a set of data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

d3-nelson-rules

Greenkeeper badge

build status

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

About

d3 utility to apply nelsons rules of process control to a set of data

License:MIT License


Languages

Language:JavaScript 81.7%Language:HTML 18.3%