time bar charts library using d3.js