Removing last trivial usage of d3