I'm creating a barplot using ggplot2
where each bar represents a country. I would like the fill of each bar to be the country's flag for easy identification.
Here's a simple example
library("ggplot2")
DF <- data.frame(country = c("UK", "France", "Germany"),
value=c(4, 3, 7))
ggplot(DF, aes(x=country, y=value, fill="#f00")) + geom_bar(stat="identity")
Instead of red bars I would like the bars to be coloured/images of flags. Does anyone have ideas/suggestions for doing this?