instantiate d3 demo