I knocked up a 2 sided horizontal bar chart in d3.js at work recently. The code is mostly stolen borrowed from Hidenari Nozaki’s excellent Creating a bar graph using D3.js blog post.
Here is what the graph looks like:
And here is the code. I’m very new to d3 so the code is very rough and ready.