slightly more styling work on bar charts, and also removing .attr('class',...) in favor of .classed(...)