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
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js