d3 round bar factory