Switched to d3 version 3