How do you run Google Charts locally?
<p>I am looking at using Google Charts <a href="https://developers.google.com/chart/interactive/docs/gallery/scatterchart" rel="noreferrer">to have scatter plot</a>. All <a href="https://developers.google.com/chart/interactive/docs/basic_load_libs" rel="noreferrer">of the examples</a> have external dependency, and I would like to avoid that as this is an intranet application that doesn't have external Internet access.</p>

<pre><code>&lt;script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"&gt;&lt;/script&gt;
 &lt;script type="text/javascript"&gt;
   google.charts.load('current', {packages: ['corechart']});
   google.charts.setOnLoadCallback(drawChart);
...
&lt;/script&gt;
</code></pre>

<p>Can I simply just copy loader.js locally or is there something more complicated that I need to worry about here? The reason I ask is that I tried doing that and it's not working so I am trying to figure out if what I am doing is fundamentally flawed or I might have an unrelated issue.</p>