To create a vote result percentage graph in R, we can use the ggplot2 library which provides an easy way to create professional-looking graphics. Here are the steps to create this graph:
main.r110 chars5 lines
ggplot2. We can use geom_bar to create the bars and coord_flip to rotate the graph sideways so that it is easier to read.main.r149 chars8 lines
fill, add axis labels using xlab and ylab, and add a title using ggtitle.main.r258 chars9 lines
This will create a graph that looks like this:

gistlibby LogSnag