skeleton for running d3