passing array into d3!