simple bar graph exercise using d3 and also working on svg's