the desired effect is as follows:
d3stacked bar chart:
the color of the two different columns is the same. The code can see here . The question is, how can I create the kind of bar chart that I want, each column has a different color ? Thank you ~