d3 is not defined – ReferenceError

Had the same issue, though I initially thought it is because of security restrictions of browser, that wasn’t the case. It worked when I added the charset to the script tag as shown below: <script src=”http://d3js.org/d3.v3.min.js” charset=”utf-8″></script> The same is shown in the d3 docs, though it doesn’t mention this issue specifically: http://d3js.org/ Yes, having … Read more