d3.chart based bar chart