d3 bar chart loads from json file