title: Uncaught ReferenceError: d3 is not defined
body: <p>I am new to web development and I am trying to upload a D3-based JS visualization to a Weebly domain. I have uploaded all required files to my Weebly site and referenced them properly in the JavaScript, but keep getting an Uncaught ReferenceError: d3 is not defined error on this line:</p>
  
  <pre><code>d3.csv("http://subdomain.weebly.com/files/theme/force.csv", function(error, links) {
  </code></pre>
  
  <p>Where I try to call d3 to load in a CSV file for my visualization. I can't seem to find out what the problem is.</p>
  
  <p>Also, I loaded d3 (hosted locally) into the JS with this line:</p>
  
  <pre><code>&lt;script src="http://subdomain.weebly.com/files/theme/d3.js" charset="utf-8"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and also tried to link to d3 remotely, but still get the same error.</p>
  
  <p>This has me very confused because everything works fine on my localhost.</p>
  
  <p>Thanks!</p>