d3 is a global