Immigration charts in d3.js (using my linechart.js api)