Added local resource for d3js and resolved issue #338