d3 barcharts

The first one, https://gist.github.com/mbostock/7322386

The second one: