To make this work, I had to change up the data transformation. Also, I changed the stack to use the entire height. Thanks to Jason Davies eyedropper I was able to match the colors used in the original BIS publication.
BIS OTC Derivatives statistics
forked from timelyportfolio's block: BIS Derivative Data using Mike Bostock's stacked to multiple bar
https://d3js.org/d3.v3.min.js