Can the following chart be generated using ggplot2
:
There are two variables mapped onto the axises, one variable (Region) mapped onto the colour (using grouped bars) and one variable (Product) mapped onto some other aethetics (alpha, pattern, line style)
How would that be possible? An example using R
is welcome.
CodePudding user response:
Here is an approach by abusing facets to serve as an x-axis so you can both stack and "dodge" the data. You can look into the