delete d3 legend for bar charts