load d3 in background