adding data for d3