Adding report generation in html, using D3 for charts