We want to move to a stacked bar chart when we care about the relative decomposition of each primary bar based on the levels of a second categorical variable.
Same goes for left and right in a horizontal chart.
This is set to true for a category scale in a bar chart while false for other scales or chart types by default.
For this set of data, mice were bought the least with 9 sales, while headphones were bought the most with 55 sales.
Same goes for left and right in a horizontal chart.
This is set to true for a category scale in a bar chart while false for other scales or chart types by default.
For this set of data, mice were bought the least with 9 sales, while headphones were bought the most with 55 sales.