Update d3 presentation code