Hi @ all, I'm looking for a solution to plot a dataframe as a stacked bar chart like on this picture: http://4.bp.blogspot.com/_79SognVSu7A/S6OtzgksPSI/AAAAAAAABrw/-IuFNewdZFE/s400/Stacked%2BBar%2BChart.png
My dataframe example2.csv <http://r.789695.n4.nabble.com/file/n4648854/example2.csv> My questions: Is there a standard function to convert the values to 100 percent relate to realize the stacked chart or does a library generate the complete plot inculding an automatically conversion? I need the states (WA, MT, ND etc.) on the x-axis and the distribution of the values (related to 100 %) on the y-axis (stacked) to compare the shares per state. I'm hoping for help from you. Thanks a lot. GeO -- View this message in context: http://r.789695.n4.nabble.com/Stacked-Barchart-as-relative-share-tp4648854.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.