html template for d3