d3 tributary reusable bar chart