title: D3.js v5 schemeCategory library undefined
body: <p>I have been learning d3.js recently and am in the midst of creating a scatterplot that would make the each data point a different color based on their category. For this every resource I have looked at so far pointed me to use d3.schemeCategory for ordinal labelling.</p>
  
  <p>My main issue is that the schemeCategory library seems to be undefined every time I call it (or any variation of it for that matter). I was wondering whether this is limited to me or if others have experienced this same problem as well.
  <strong>Please note</strong> whenever I use <code>http://d3js.org/d3.v5.min.js/</code> or <code>~/d3.v5.js</code> I always get a MIME error. So I have been using the d3.js version 5 package that is downloadable from their website.</p>
  
  <p>Here is a snippet of the code below for some context:</p>
  
  <pre><code>colorScale = d3.scaleOrdinal()
                          .domain(regionSet)
                          console.log(d3.schemeCategory20)
                          //.range(d3.schemeCategory20);
  </code></pre>
  
  <p>Where <code>regionSet</code> are the categories used. The output of the console.log command is simply <code>undefined</code></p>
  
  <p>Any and all feedback is appreciated.</p>