sync d3 with firebase data