D3.JS - Creating a simple bar chart