Making change to d3 extension