add data and use d3.js bar chat