feat(d3Directive): updated bar plotting