d3-quant
This is a d3 plugin for quantitative data analysis, quantitative finance and more.
yarn add d3-quant
Binary Tree
A binary tree data-structure which implements the red-black self balancing algorithm.
var tree = d3;tree;treesize \\ 1treemaxDepth \\ 0tree;treesize \\ 2treemaxDepth \\ 1
Traversing the tree can be done with in order or root to leaf.
Root to leaf traversal
tree;
In order traversal
tree;
Sobol low-discrepancy sequence
Generate a Sobol sequence for N dimensions.
const sobol = d3;sobolnext \\ 0 0 0 0 0 sobolnext \\ 05 05 05 05 05
Make a Release
For maintainers, to make a new realase, bump the version and issue this commit message
Relase x.y.z
replacing x.t.z
with the correct version matching the package.json.