generate d3.js charts using csv files