Initial d3 chart for categories