<html>
  <head>
    <script src="https://d3js.org/d3.v4.min.js"></script>
  </head>
  <body></body>
  <script>
// Select the body and append a div, saving the div selection
// in the divSelection variable
var divSelection = d3.select("body").append("div");

// Use divSelection to act on the DIV multiple times
divSelection.style("background-color","red");

divSelection.append("span")
      .style("color","green")
      .text("hi");

divSelection.append("span")
      .style("color","blue")
      .text(" there!"); 
  </script>
</html>
// Code goes here

/* Styles go here */