d3 chart works with labels.