From http://www.r-bloggers.com/visualizing-tables-in-ggplot2/