added header to index page and rearranged d3 chart