Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gtuckerkellogg/3461272 to your computer and use it in GitHub Desktop.
Save gtuckerkellogg/3461272 to your computer and use it in GitHub Desktop.
Bar chart of NAR database issue databases over time
require(RCurl)
myCsv <- getURL(dblink)
dbs <- read.csv(textConnection(myCsv))
library(ggplot2)
names(dbs) <- c("Year","Databases")
dbs[[1]] <- as.factor(dbs[[1]])
p <- qplot(x=Year,y=Databases,data=dbs,geom="bar",fill="gray")
p + theme_bw() + opts(axis.text.x = theme_text(angle=90, hjust=1.2, size=16),
axis.title.x=theme_text(size=16),
axis.title.y=theme_text(size=16,angle=90),
axis.text.y = theme_text(size=16),
legend.position="none") +
ylab("Databases in NAR Database issue")
@gtuckerkellogg
Copy link
Author

Create a bar chart of the growth in databases in the NAR database issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment