Pyramid Chart (opposing bars) in d3.js

I came across an implementation of this in Protovis and thought I'd convert it to d3.js.

References