Background Some years ago, I needed an implementation of control charts (Statistical Process Control or SPC charts) in TypeScript. I ended up building it myself. It eventually became quite a popular add-on for a BI tool. Building it took a couple of months as designing the API, implementing the charts and plotting, and identifying all the needed user settings required lots of trial and error. A…