title: how to integrate d3 with require.js
body: <p>I'm having problems trying to integrate d3 into a require/backbone application. My main.js contains something like:</p>
  
  <pre><code>require.config({
    paths: {
      d3: 'libs/d3/d3.v2.min'
      backbone: ...
      ...
    }
  });
  </code></pre>
  
  <p>And my backbone view something like (in coffeescript)</p>
  
  <pre><code>define ['backbone','d3',...], (Backbone,d3,...) -&gt;
    MyView = Backbone.View.extend
      initialize: () -&gt;
        d3.somefunction
  </code></pre>
  
  <p>Console log says d3 is null. Is there a simple way to integrate d3 into this type of application?</p>