add body and html to d3_template and add pielayout