preparing stuff for data visualization
preparing the data for d3!