Take a look at this workflow, in particular the Bar Chart - Stacked section. You can change the option to “Grouped” in the node and it’s quite similar to what you want. The trick most of the time is to get the data in the proper format for feeding into the Bar Chart node.