d3.js Plots of NSF data (R code)