begin d3 integration