added more parameters to d3js plots