Hi community!
I am trying to plot a stack bar chart with multiple bars without categorical variables for grouping the data:
First bar
I am trying to plot a stack bar chart with multiple bars without categorical variables for grouping the data:
First bar
- I have a variable Area 1 (how much area a household has in a low elevation surface), and Area 2 (how much area a household has in a high elevation surface). Area1 + Area2 = Total Area.
- For each observation, I have all three: Total Area, Area 1, and Area 2. So I don't have a categorical variable, they are all numerical ones.
- Now I want to plot a stacked bar that summarizes how much percentage of the total area is Area 1, and the same for Area 2
- I have a variable Plot 1 (how many plots a household has in a low elevation surface), and Plot 2 (how many plots a household has in a high elevation surface). Plot 1 + Plot 2 = Total Plots
- For each observation, I have all three: Total plots, Plot 1 and Plot 2. So I don't have a categorical variable, they are all numerical ones.
- Now I want to add a stacked bar that summarizes how much percentage of the total plots is Plot 1, and the same for Plot 2
Comment