D3 revisions

refactor file upload, modify formatting of d3 visualizations