integrating with d3 works