title: Directly render and serve d3 visualizations from a nodejs server
body: <p><a href="https://gist.github.com/Caged/6407459" rel="nofollow">https://gist.github.com/Caged/6407459</a></p>
  
  <p>I tried the above link code but it shows the following error message:
  TypeError: Cannot read property 'querySelector' of undefined</p>
  
  <p>Can you please tell me where is the problem or any solution?</p>
  
  <p>Thank you.</p>