I have tried the suggestions for a stacked barplot in here, but can't seem to make it work.
The data im trying to get plotted:
Technology TodayScenario WindScenario BiomassScenario
Biomass 0.130 0.0646 0.182
Fossil gas 0.0965 0.00309 0
Coal 0.218 0 0
Oil 0.00696 0 0
PV 0.0328 0.0245 0.0266
Waste 0.0420 0 0
Onshore 0.323 0.311 0.337
Offshore 0.150 0.597 0.454
So im trying to get each scenario plotted with the percentage of how much there is of each technology in the scenario
I have tried the following for getting a stacked plot, but is not working.
ggplot(Distribution,
aes(x = WindScenario, y = Technology) +
geom_bar(stat = "identity")
