partial d3 integration