Changed included D3 version and removed code related to deprecated identity function