D3.js starter template

by Imabot

HTML

<html>
  <head>
    <!-- Load d3.js v5 -->
    <script src="https://d3js.org/d3.v5.min.js"></script>        
  </head>
  <body>
    <!-- Div to manipulate -->
    <div id="d3"></div>

    <script>
      // Add text to the div
      d3.select('#d3').text('Hello world!')
    </script>

  </body>
</html>