csv download for input d3 plots