Plotting files using d3js