0.3.1 • Published 7 years ago

d3-nelson-rules v0.3.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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

0.3.1

7 years ago

0.3.0

8 years ago

0.2.0

8 years ago