add d3 and analysis base