changed namespace to d3