added d3 diagram